WP_Scripts::do_item

SummerySummery

Processes a script dependency.

Syntax

WP_Scripts::do_item( string $handle, int|false $group = false )

ParametersParameters

$handle

(string) (Required) The script's registered handle.

$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.8.0 Added the $group parameter.
2.6.0 Introduced.

See alsoSee also

Scroll to Top