Uses
Uses | Description |
---|---|
wp-includes/functions.wp-scripts.php: wp_scripts() | Initialize $wp_scripts if it has not been set. |
Remove a previously enqueued script.
(string) (Required) Name of the script to be removed.
File: wp-includes/functions.wp-scripts.php
function wp_dequeue_script( $handle ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle ); wp_scripts()->dequeue( $handle ); }
Version | Description |
---|---|
3.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_dequeue_script