wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_deregister_style › WordPress Function

Depuis2.1.0
Dépréciéen/a
wp_deregister_style ( $handle )
Paramètres:
  • (string) $handle Name of the stylesheet to be removed.
    Requis: Oui
Voir:
  • WP_Dependencies::remove()
Défini(e) dans:
Codex:

Removes a registered stylesheet.



Source

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

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