Description
Fires before the header template file is loaded.
Occurrences
Filename | Line Number |
---|---|
wp-includes/general-template.php | 38 |
Parameters
Type | Name | Description |
---|---|---|
string|null | $name | Name of the specific header file to use. Null for the default header. |
array | $args | Additional arguments passed to the header template. |
PHP Doc
/**
* Fires before the header template file is loaded.
*
* @since 2.1.0
* @since 2.8.0 The `$name` parameter was added.
* @since 5.5.0 The `$args` parameter was added.
*
* @param string|null $name Name of the specific header file to use. Null for the default header.
* @param array $args Additional arguments passed to the header template.
*/