WordPress at Your Fingertips

wp_dequeue_style() WP 1.0

Remove a previously enqueued CSS stylesheet.

No Hooks.

Return

null. Nothing.

Usage

wp_dequeue_style( $handle );
$handle(string) (required)
Name of the stylesheet to be removed.

Notes

Changelog

Since 3.1.0 Introduced.

Code of wp_dequeue_style() WP 5.8.1

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

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

styles (include files)

Scripts and Styles

No comments
    Log In