wp_dequeue_style( string $handle )

Remove a previously enqueued CSS stylesheet.


Description Description


Parameters Parameters

$handle

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


Top ↑

Source Source

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

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

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

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.