WordPress at a glance

wp_dequeue_style() WP 1.0

Remove a previously enqueued CSS stylesheet.

Возвращает

Null. Ничего.

Использование

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

Заметки

  • See: WP_Dependencies::dequeue()

Changelog

Since 3.1.0 Introduced.

Код wp_dequeue_style() WP 5.5.1

<?php
function wp_dequeue_style( $handle ) {
	_wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle );

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

From tag: styles (include files)

More from category: Scripts and Styles

No comments
    Log In . Register