print_styles_array filter-hook . WP 2.6.0
Filters the array of enqueued styles before processing for output.
Usage
add_filter( 'print_styles_array', 'filter_function_name_1074' ); function filter_function_name_1074( $to_do ){ // filter... return $to_do; }
- $to_do(string[])
- The list of enqueued style handles about to be processed.
Changelog
Since 2.6.0 | Introduced. |
Where the hook is called
print_styles_array
wp-includes/class.wp-styles.php 380
$this->to_do = apply_filters( 'print_styles_array', $this->to_do );