WP_Scripts::set_group

SummerySummery

Sets handle group.

Syntax

WP_Scripts::set_group( string $handle, bool $recursion, int|false $group = false )

ParametersParameters

$handle

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

$recursion

(bool) (Required) Internal flag that calling function was called recursively.

$group

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

Default value: false

ReturnReturn

(bool) Not already in the group or a lower group.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
2.8.0 Introduced.

See alsoSee also

Scroll to Top