Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
get_header

Description

Runs when the template calls the get_header function, just before the header.php template file is loaded.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for get_header

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
2.1 wp-includes/general-template.php 6 View in context action
2.2 wp-includes/general-template.php 6 View in context action
2.3 wp-includes/general-template.php 6 View in context action
2.5 wp-includes/general-template.php 6 View in context action
2.6 wp-includes/general-template.php 6 View in context action
2.7 wp-includes/general-template.php 26 View in context action
2.8 wp-includes/general-template.php 26 View in context action
2.9 wp-includes/general-template.php 26 View in context action
3.0 wp-includes/general-template.php 25 View in context action
3.1 wp-includes/general-template.php 25 View in context action
3.2 wp-includes/general-template.php 25 View in context action
3.3 wp-includes/general-template.php 25 View in context action
3.4 wp-includes/general-template.php 25 View in context action
3.5 wp-includes/general-template.php 25 View in context action
3.6 wp-includes/general-template.php 25 View in context action
3.7 wp-includes/general-template.php 25 View in context action
3.8 wp-includes/general-template.php 25 View in context action
3.9 wp-includes/general-template.php 37 View in context action
4.0 wp-includes/general-template.php 37 View in context action
4.1 wp-includes/general-template.php 35 View in context action
4.2 wp-includes/general-template.php 35 View in context action
4.3 wp-includes/general-template.php 35 View in context action
4.4 wp-includes/general-template.php 35 View in context action
4.5 wp-includes/general-template.php 35 View in context action
4.6 wp-includes/general-template.php 35 View in context action
4.7 wp-includes/general-template.php 35 View in context action
4.8 wp-includes/general-template.php 35 View in context action
4.9 wp-includes/general-template.php 31 View in context action
5.0 wp-includes/general-template.php 31 View in context action
5.1 wp-includes/general-template.php 31 View in context action

Related Hooks

We find related hooks using word stems. get_header has 1 significant word stem(s): header. Note that some of the hooks below may not appear in all versions of WP.