On this page
apply_filters( 'print_scripts_array', string[] $to_do )
Filters the list of script dependencies left to print.
Parameters
$to_dostring[]-
An array of script dependency handles.
Source
File: wp-includes/class-wp-scripts.php. View all references
$this->to_do = apply_filters( 'print_scripts_array', $this->to_do );
Related
Used By
| Used By | Description |
|---|---|
| WP_Scripts::all_deps() wp-includes/class-wp-scripts.php | Determines script dependencies. |
Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/print_scripts_array