wpseek.com
A WordPress-centric search engine for devs and theme authors



get_header › WordPress Action Hooks

Since5.5.0
Deprecatedn/a
do_action( 'get_header', $name, $args )
Parameters: (2)
  • (string|null) $name Name of the specific header file to use. Null for the default header.
    Required: Yes
  • (array) $args Additional arguments passed to the header template.
    Required: Yes
Defined at:
Codex:

Fires before the header template file is loaded.





Source

do_action( 'get_header', $name, $args );