W3cubDocs

/WordPress

apply_filters( ‘print_admin_styles’, bool $print )

Filters whether to print the admin styles.

Parameters

$printbool
Whether to print the admin styles. Default true.

Source

if ( apply_filters( 'print_admin_styles', true ) ) {

Changelog

Version Description
2.8.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/print_admin_styles