get_header

Advertisement

Summery Summery

Load header template.

Syntax Syntax

get_header( string $name = null )

Description Description

Includes the header template for a theme or if a name is specified then a specialised header will be included.

For the parameter, if the file is called "header-special.php" then specify "special".

Parameters Parameters

$name

(string) (Optional) The name of the specialised header.

Default value: null

Source Source

File: wp-includes/general-template.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.