print_scripts_array

过滤钩子


apply_filters( 'print_scripts_array', $this->to_do )
参数
  • (string[])
    $to_do
    An array of script dependency handles.
    Required:
定义位置
  • wp-includes/class-wp-scripts.php
    , line 659
引入
2.3.0
弃用

Filters the list of script dependencies left to print.

$this->to_do = apply_filters( 'print_scripts_array', $this->to_do );