wp_deregister_style

Advertisement

Summery Summery

Remove a registered stylesheet.

Syntax Syntax

wp_deregister_style( string $handle )

Parameters Parameters

$handle

(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