WP_Dependencies::query

Advertisement

Summery Summery

Query list for an item.

Syntax Syntax

WP_Dependencies::query( string $handle, string $list = 'registered' )

Parameters Parameters

$handle

(string) (Required) Name of the item. Should be unique.

$list

(string) (Optional) Property name of list array.

Default value: 'registered'

Return Return

(bool|_WP_Dependency) Found, or object Item data.

Source Source

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


			

Advertisement

Changelog Changelog

Changelog
Version Description
2.6.0 Moved from WP_Scripts.
2.1.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.