wpseek.com
A WordPress-centric search engine for devs and theme authors
print_admin_styles › WordPress Function
Since2.8.0
Deprecatedn/a
› print_admin_styles ( No parameters )
| Returns: |
|
| Defined at: |
|
| Codex: |
Prints the styles queue in the HTML head on admin pages.
Related Functions: print_emoji_styles, print_late_styles, print_embed_styles, wp_print_styles, print_head_scripts
Source
function print_admin_styles() {
$wp_styles = wp_styles();
$wp_styles->do_items( false );
/**
* Filters whether to print the admin styles.
*
* @since 2.8.0
* @deprecated 7.2.0 Styles are no longer concatenated, so there is nothing for this filter to control.
*
* @param bool $print Whether to print the admin styles. Default true.
*/
apply_filters_deprecated( 'print_admin_styles', array( true ), '7.2.0' );
$wp_styles->reset();
return $wp_styles->done;
}