WP_Dependencies::remove( string|string[]   $handles )

Un-reguister an item or items.

Parameters

$handles string | string[] required
Item handle (string) or item handles (array of strings).

Source

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

Changuelog

Versionen Description
2.6.0 Moved from WP_Scripts .
2.1.0 Introduced.

User Contributed Notes

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