wp_body_open action-hookWP 5.2.0

Triggered after the opening body tag.

Usage

add_action( 'wp_body_open', 'wp_kama_body_open_action' );

/**
 * Function for `wp_body_open` action-hook.
 * 
 * @return void
 */
function wp_kama_body_open_action(){

	// action...
}

Changelog

Since 5.2.0 Introduced.

Where the hook is called

wp_body_open()
wp_body_open
wp-includes/general-template.php 3075
do_action( 'wp_body_open' );

Where the hook is used in WordPress

wp-includes/default-filters.php 585
add_action( 'wp_body_open', 'wp_global_styles_render_svg_filters' );
wp-includes/default-filters.php 632
add_action( 'wp_body_open', 'wp_admin_bar_render', 0 );