wp_dequeue_style( string $handle )

Removes a previously enqueued CSS stylesheet.


Description

See also


Parameters

$handle

(Required) Name of the stylesheet to be removed.


Source

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

function wp_dequeue_style( $handle ) {
	_wp_scripts_maybe_doing_it_wrong( __FUNCTION__ );

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


Changelog

Changelog
Version Description
3.1.0 Introduced.