wp_template_enhancement_output_buffer_started │ хук-событие │ WP 6.9.0

Fires when the template enhancement output buffer has started.

Использование

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...
}

Список изменений

С версии 6.9.0 Введена.

Где вызывается хук

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

Где используется хук в WordPress

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