Advertisements

print_admin_styles

Definition:
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();



	script_concat_settings();

	$wp_styles->do_concat = $concatenate_scripts;

	$zip = $compress_css ? 1 : 0;

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

		$zip = 'gzip';



	$wp_styles->do_items(false);



	if ( apply_filters('print_admin_styles', true) )

		_print_styles();



	$wp_styles->reset();

	return $wp_styles->done;

}

2623

Advertisements

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:

WordPress.com Logo

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

Google+ photo

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

Twitter picture

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

Facebook photo

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

Connecting to %s

%d bloggers like this: