print_late_styles хук-фильтрWP 3.3.0

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

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

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.
По умолчанию: true

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

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

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

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

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

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