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.


Top ↑

Source

File: wp-includes/class.wp-styles.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.