wppaste
WordPress

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:955wp_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:256wp_body_open()
  • wp-content/themes/twentyseventeen/inc/template-tags.php:245wp_body_open()
  • wp-content/themes/twentysixteen/inc/template-tags.php:292wp_body_open()
  • wp-content/themes/twentyten/functions.php:809wp_body_open()
  • wp-content/themes/twentythirteen/functions.php:918wp_body_open()
  • wp-content/themes/twentytwelve/functions.php:747wp_body_open()
  • wp-content/themes/twentytwenty/functions.php:365wp_body_open()
  • wp-includes/general-template.php:3224wp_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; /** * Include 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.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.8.8 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.