do_action( 'wp_body_open' )
- Since
- Twenty Eleven 3.3
Triggered after the opening tag.
Compatibility
- WordPress
- since Twenty Eleven 3.3
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Where this hook fires · 11
wp-content/themes/twentyeleven/functions.php:968wp_body_open()wp-content/themes/twentyfifteen/inc/template-tags.php:303wp_body_open()wp-content/themes/twentyfourteen/inc/template-tags.php:261wp_body_open()wp-content/themes/twentynineteen/inc/template-tags.php:259wp_body_open()wp-content/themes/twentyseventeen/inc/template-tags.php:246wp_body_open()wp-content/themes/twentysixteen/inc/template-tags.php:299wp_body_open()wp-content/themes/twentyten/functions.php:809wp_body_open()wp-content/themes/twentythirteen/functions.php:934wp_body_open()wp-content/themes/twentytwelve/functions.php:762wp_body_open()wp-content/themes/twentytwenty/functions.php:371wp_body_open()wp-includes/general-template.php:3240wp_body_open()
Source code
function wp_body_open() { /** * Triggered after the opening <body> tag. * * @since Twenty Eleven 3.3 */ do_action( 'wp_body_open' ); }endif; /** * Includes a skip to content link at the top of the page so that users can bypass the menu. *Changelog
Introduced in Twenty Eleven 3.3. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.0.4 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.