WP_Dependencies::remove( mixed $handles )
Un-register an item or items.
Description Description
Parameters Parameters
- $handles
-
(mixed) (Required) Item handle and argument (string) or item handles and arguments (array of strings).
Return Return
(void)
Source Source
File: wp-includes/class.wp-dependencies.php
public function remove( $handles ) { foreach ( (array) $handles as $handle ) { unset( $this->registered[ $handle ] ); } }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Moved from WP_Scripts . |
2.1.0 | Introduced. |