wp_should_output_buffer_template_for_enhancement

wp_should_output_buffer_template_for_enhancement

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.9

apply_filters('wp_should_output_buffer_template_for_enhancement') is found 1 times:

  • /wp-includes/template.php line 857
    	 * @since 6.9.0
    	 *
    	 * @param bool $use_output_buffer Whether an output buffer is started.
    	 */
    	return (bool) apply_filters( 'wp_should_output_buffer_template_for_enhancement', has_filter( 'wp_template_enhancement_output_buffer' ) || has_action( 'wp_finalized_template_enhancement_output_buffer' ) );
    }
    
    /**
     * Starts the template enhancement output buffer.
     *
     * This function is called immediately before the template is included.