wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
print_late_styles › WordPress Function
Seit3.3.0
Veraltetn/v
› print_late_styles ( Keine Parameter )
Gibt zurück: |
|
Definiert in: |
|
Codex: |
Prints the styles that were queued too late for the HTML head.
Ähnliche Funktionen: print_emoji_styles, print_admin_styles, print_embed_styles, wp_print_styles, wp_get_layout_style
Quellcode
function print_late_styles() { global $wp_styles, $concatenate_scripts; if ( ! ( $wp_styles instanceof WP_Styles ) ) { return; } script_concat_settings(); $wp_styles->do_concat = $concatenate_scripts; $wp_styles->do_footer_items(); /** * Filters whether to print the styles queued too late for the HTML head. * * @since 3.3.0 * * @param bool $print Whether to print the 'late' styles. Default true. */ if ( apply_filters( 'print_late_styles', true ) ) { _print_styles(); } $wp_styles->reset(); return $wp_styles->done; }