print_styles_array WordPress Filter Hook
The print_styles_array hook is used to add/remove/modify stylesheet files on the front end of a WordPress site. This hook is called after the theme has been setup, but before any stylesheets have been added to the queue.
apply_filters( 'print_styles_array', string[] $to_do ) #
Filters the array of enqueued styles before processing for output.
Parameters
- $to_do
(string[])The list of enqueued style handles about to be processed.
Source
Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |