wp_deregister_style

Advertisement

Summery Summery

Remove a registered stylesheet.

Syntax Syntax

wp_deregister_style( string $handle )

Parameters Parameters

$handle

(string) (Required) Name of the stylesheet to be removed.

Source Source

File: wp-includes/functions.wp-styles.php

 *
 * @param string $handle Name of the stylesheet to be removed.
 */
function wp_deregister_style( $handle ) {
	_wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle );

Advertisement

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.