wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



print_admin_styles › WordPress Function

Seit2.8.0
Veraltetn/v
› print_admin_styles ( Keine Parameter )
Gibt zurück:
  • (string[]) Handles of the styles that were printed.
Definiert in:
Codex:

Prints the styles queue in the HTML head on admin pages.



Quellcode

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;
}