wp_deregister_script( string $handle )
Removes a registered script.
Description
Note: there are intentional safeguards in place to prevent critical admin scripts, such as jQuery core, from being unregistered.
See also
Parameters
- $handle
-
(Required) Name of the script to be removed.
Source
File: wp-includes/functions.wp-scripts.php
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |