WordPress at a glance
function is not described

WP_Dependencies::remove() public WP 2.1.0

Un-register an item or items.

{} It's a method of the class: WP_Dependencies{}

No Hooks.

Return

````. Null. Nothing.

Usage

$WP_Dependencies = new WP_Dependencies();
$WP_Dependencies->remove( $handles );
$handles(string|string[]) (required)
Item handle (string) or item handles (array of strings).

Changelog

Since 2.1.0 Introduced.
Since 2.6.0 Moved from WP_Scripts.

Code of WP_Dependencies::remove() WP 5.7

<?php
public function remove( $handles ) {
	foreach ( (array) $handles as $handle ) {
		unset( $this->registered[ $handle ] );
	}
}