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



wp_deregister_style ›

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

Remove a registered stylesheet.



Fonte

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

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