Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_dequeue_style ›

Desde3.1.0
Obsoleton/a
wp_dequeue_style ( $handle )
Parâmetros:
  • (string) $handle Name of the stylesheet to be removed.
    Required: Yes
Ver:
  • WP_Dependencies::dequeue()
Definido em:
Codex:

Remove a previously enqueued CSS stylesheet.



Fonte

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

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