print_admin_styles filter-hookWP 2.8.0

Filters whether to print the admin styles.

Usage

add_filter( 'print_admin_styles', 'wp_kama_print_admin_styles_filter' );

/**
 * Function for `print_admin_styles` filter-hook.
 * 
 * @param bool $print Whether to print the admin styles.
 *
 * @return bool
 */
function wp_kama_print_admin_styles_filter( $print ){

	// filter...
	return $print;
}
$print(true|false)
Whether to print the admin styles.
Default: true

Changelog

Since 2.8.0 Introduced.

Where the hook is called

print_admin_styles()
print_admin_styles
wp-includes/script-loader.php 2290
if ( apply_filters( 'print_admin_styles', true ) ) {

Where the hook is used in WordPress

Usage not found.