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



wp_dequeue_style › WordPress Function

Seit3.1.0
Veraltetn/v
wp_dequeue_style ( $handle )
Parameter:
  • (string) $handle Name of the stylesheet to be removed.
    Erforderlich: Ja
Siehe:
  • WP_Dependencies::dequeue()
Definiert in:
Codex:

Removes a previously enqueued CSS stylesheet.



Quellcode

function wp_dequeue_style( $handle ) {
	_wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle );

	wp_styles()->dequeue( $handle );
}