print_late_styles filter-hookWP 3.3.0

Filters whether to print the styles queued too late for the HTML head.

Usage

add_filter( 'print_late_styles', 'wp_kama_print_late_styles_filter' );

/**
 * Function for `print_late_styles` filter-hook.
 * 
 * @param bool $print Whether to print the 'late' styles.
 *
 * @return bool
 */
function wp_kama_print_late_styles_filter( $print ){

	// filter...
	return $print;
}
$print(true|false)
Whether to print the 'late' styles.
Default: true

Changelog

Since 3.3.0 Introduced.

Where the hook is called

print_late_styles()
print_late_styles
wp-includes/script-loader.php 2329
if ( apply_filters( 'print_late_styles', true ) ) {

Where the hook is used in WordPress

Usage not found.