WP_Scripts::all_deps

SummerySummery

Determines script dependencies.

Syntax

WP_Scripts::all_deps( string|string[] $handles, bool $recursion = false, int|false $group = false )

ParametersParameters

$handles

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

$recursion

(bool) (Optional) Internal flag that function is calling itself.

Default value: false

$group

(int|false) (Optional) Group level: level (int), no groups (false).

Default value: false

ReturnReturn

(bool) True on success, false on failure.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
2.1.0 Introduced.

See alsoSee also

Scroll to Top