print_head_scripts

过滤钩子


apply_filters( 'print_head_scripts', true )
参数
  • (bool)
    $print
    Whether to print the head scripts. Default true.
    Required:
定义位置
  • wp-includes/script-loader.php
    , line 2028
引入
2.8.0
弃用

Filters whether to print the head scripts.

if ( apply_filters( 'print_head_scripts', true ) ) {