print_scripts_array WordPress Filter Hook
The print_scripts_array hook is a great way to process data before it is outputted to the screen. This hook can be used to add or remove data from an array, or to modify data in an array. This hook is called before the data is printed to the screen, so you can make changes to the data before it is outputted.
apply_filters( 'print_scripts_array', string[] $to_do ) #
Filters the list of script dependencies left to print.
Parameters
- $to_do
(string[])An array of script dependency handles.
Source
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |