wp_dequeue_script_module( string $id )
Unmarks the script module so it is no longer enqueued in the page.
Parameters
- $id
-
(Required) The identifier of the script module.
Source
File: wp-includes/script-modules.php
function wp_dequeue_script_module( string $id ) {
wp_script_modules()->dequeue( $id );
}
Changelog
| Version | Description |
|---|---|
| 6.5.0 | Introduced. |