wp_template_enhancement_output_buffer_started action-hookWP 6.9.0

Fires when the template enhancement output buffer has started.

Usage

add_action( 'wp_template_enhancement_output_buffer_started', 'wp_kama_template_enhancement_output_buffer_started_action' );

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

	// action...
}

Changelog

Since 6.9.0 Introduced.

Where the hook is called

wp_start_template_enhancement_output_buffer()
wp_template_enhancement_output_buffer_started
wp-includes/template.php 904
do_action( 'wp_template_enhancement_output_buffer_started' );

Where the hook is used in WordPress

wp-includes/script-loader.php 3629
add_action( 'wp_template_enhancement_output_buffer_started', 'wp_hoist_late_printed_styles' );