apply_filters( 'print_scripts_array', string[] $to_do )
- Since
- 2.3.0
Filters the list of script dependencies left to print.
Parameters
$to_dostring[]- An array of script dependency handles.
Fired at · 1
wp-includes/class-wp-scripts.php:775WP_Scripts::all_deps()
Source
* Filters the list of script dependencies left to print. * * @since 2.3.0 * * @param string[] $to_do An array of script dependency handles. */ $this->to_do = apply_filters( 'print_scripts_array', $this->to_do ); } return $result; } /** * Processes items and dependencies for the head group.History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.9.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.