WordPress at Your Fingertips
function is not described

WP_Dependencies::do_item() public WP 2.6.0

Processes a dependency.

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

No Hooks.

Return

true|false. True on success, false if not set.

Usage

$WP_Dependencies = new WP_Dependencies();
$WP_Dependencies->do_item( $handle, $group );
$handle(string) (required)
Name of the item. Should be unique.
$group(int|false)
Group level: level (int), no groups (false).
Default: false

Changelog

Since 2.6.0 Introduced.
Since 5.5.0 Added the $group parameter.

Code of WP_Dependencies::do_item() WP 5.8.1

public function do_item( $handle, $group = false ) {
	return isset( $this->registered[ $handle ] );
}