function print_admin_styles() {}

Prints the styles queue in the HTML head on admin pages.

Defined filters

  • print_admin_styles
    apply_filters('print_admin_styles', true)

Source code

function print_admin_styles() {

	global $wp_styles, $concatenate_scripts, $compress_css;

	if ( !is_a($wp_styles, 'WP_Styles') )

		$wp_styles = new WP_Styles();


	$wp_styles->do_concat = $concatenate_scripts;

	$zip = $compress_css ? 1 : 0;

	if ( $zip && defined('ENFORCE_GZIP') && ENFORCE_GZIP )

		$zip = 'gzip';


	if ( apply_filters('print_admin_styles', true) )



	return $wp_styles->done;



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: