wp_deregister_script_module( string $id )

Deregisters the script module.


Parameters

$id

(Required) The identifier of the script module.


Source

File: wp-includes/script-modules.php

function wp_deregister_script_module( string $id ) {
	wp_script_modules()->deregister( $id );
}


Changelog

Changelog
Version Description
6.5.0 Introduced.