wp_deregister_script_module()
Deregisters the script module.
No Hooks.
Returns
null. Nothing (null).
Usage
wp_deregister_script_module( $id );
- $id(string) (required)
- The identifier of the script module.
Changelog
| Since 6.5.0 | Introduced. |
wp_deregister_script_module() wp deregister script module code WP 6.8.3
function wp_deregister_script_module( string $id ) {
wp_script_modules()->deregister( $id );
}