wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_deregister_style › WordPress Function

Da2.1.0
Deprecaton/a
wp_deregister_style ( $handle )
Parametri:
  • (string) $handle Name of the stylesheet to be removed.
    Richiesto:
Vedi:
  • WP_Dependencies::remove()
Definito a:
Codex:

Removes a registered stylesheet.



Sorgenti

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

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