wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_dequeue_style › WordPress Function

Od3.1.0
Przestarzałyn/a
wp_dequeue_style ( $handle )
Parametry:
  • (string) $handle Name of the stylesheet to be removed.
    Wymagane: Tak
Zobacz:
  • WP_Dependencies::dequeue()
Zdefiniowane na:
Codex:

Removes a previously enqueued CSS stylesheet.



Źródło

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

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