print_head_scripts хук-фильтр . WP 2.8.0
Filters whether to print the head scripts.
Использование
add_filter( 'print_head_scripts', 'filter_function_name_7391' ); function filter_function_name_7391( $print ){ // filter... return $print; }
- $print(true/false)
- Whether to print the head scripts.
По умолчанию: true
Список изменений
С версии 2.8.0 | Введена. |
Где вызывается хук
print_head_scripts
wp-includes/script-loader.php 1853
if ( apply_filters( 'print_head_scripts', true ) ) {