wp_deregister_style( string $handle )
Removes a registered stylesheet.
Description
See also
Parameters
-
$handle
string Required -
Name of the stylesheet to be removed.
Source
File: wp-includes/functions.wp-styles.php
.
View all references
function wp_deregister_style( $handle ) {
_wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle );
wp_styles()->remove( $handle );
}
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Example: