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:
  • (string[]|null)
Definiert in:
Codex:

Prints the styles that were queued too late for the HTML head.



Quellcode

function print_late_styles() {
	global $wp_styles;

	if ( ! ( $wp_styles instanceof WP_Styles ) ) {
		return null;
	}

	$wp_styles->do_footer_items();

	/**
	 * Filters whether to print the styles queued too late for the HTML head.
	 *
	 * @since 3.3.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 'late' styles. Default true.
	 */
	apply_filters_deprecated( 'print_late_styles', array( true ), '7.2.0' );

	$wp_styles->reset();
	return $wp_styles->done;
}