wp_dequeue_script( string $handle )
Remove a previously enqueued script.
Description Description
See also See also
Parameters Parameters
- $handle
-
(string) (Required) Name of the script to be removed.
Source Source
File: wp-includes/functions.wp-scripts.php
function wp_dequeue_script( $handle ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ ); wp_scripts()->dequeue( $handle ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Dequeue a script