Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

get_header()

3 tags 1 category

get_header() — Loads header template. Includes the header template for a theme or if a name is specified then a specialized header will be included. For the parameter, if the file is called “header-special.php” then specify “special”.

Inputs: $name (string|null): The name of the specialized header. Default null. $args (array): Optional. Additional arguments passed to the header template. Default empty array.

Returns void|false: Void on success, false if the template does not exist.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…