WordPress at a glance

wp_dequeue_style() WP 1.0

Remove a previously enqueued CSS stylesheet.

  • See: WP_Dependencies::dequeue()

No Hooks.


Nothing (null).


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

Code of wp_dequeue_style: wp-includes/functions.wp-styles.php VER 4.9.8

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

	wp_styles()->dequeue( $handle );

Related Functions

From tag: styles (include files)

More from category: Other Theme Functions

No comments
    Hello, !     Log In . Register