wpseek.com
WordPress开发者和主题制作者的搜索引擎
print_admin_styles › WordPress Function
Since2.8.0
已弃用n/a
› print_admin_styles ( 没有参数 )
返回: |
|
定义在: |
|
文档: |
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, wp_admin_css
源码
function print_admin_styles() { global $concatenate_scripts; $wp_styles = wp_styles(); script_concat_settings(); $wp_styles->do_concat = $concatenate_scripts; $wp_styles->do_items( false ); /** * Filters whether to print the admin styles. * * @since 2.8.0 * * @param bool $print Whether to print the admin styles. Default true. */ if ( apply_filters( 'print_admin_styles', true ) ) { _print_styles(); } $wp_styles->reset(); return $wp_styles->done; }