WP_Dependencies::remove

Advertisement

Summery Summery

Un-register an item or items.

Syntax Syntax

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

Parameters Parameters

$handles

(Required) Item handle (string) or item handles (array of strings).

Source Source

File: wp-includes/class.wp-dependencies.php

	 *
	 * @param string|string[] $handles Item handle (string) or item handles (array of strings).
	 */
	public function remove( $handles ) {
		foreach ( (array) $handles as $handle ) {

Advertisement

Changelog Changelog

Changelog
Version Description
2.6.0 Moved from WP_Scripts.
2.1.0 Introduced.

Advertisement

Leave a Reply