WP_Script_Modules::deregister( string $id )

In this article

Removes a registered script module.

Parameters

$idstringrequired
The identifier of the script module.

Source

public function deregister( string $id ) {
	unset( $this->registered[ $id ] );
	unset( $this->enqueued_before_registered[ $id ] );
}

Changelog

VersionDescription
6.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.