get_header


get_header ( $name = null, $args = array() )

Parameters:
  • (string) name The name of the specialized header.
  • (array) args Optional. Additional arguments passed to the header template. Default empty array.
Returns:
  • (void|false) Void on success, false if the template does not exist.
Defined at:
Change Log:
  • 5: .
  • 5: .

Description

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".

Related Functions

get_header_image, get_custom_header, get_theme, get_the_date, login_header

Top Google Results

User discussions

wpseek mobile