Summery Summery
Set item group, unless already in a lower group.
Syntax Syntax
Parameters Parameters
- $handle
-
(Required) Name of the item. Should be unique.
- $recursion
-
(Required) Internal flag that calling function was called recursively.
- $group
-
(Required) Group level: level (int), no groups (false).
Return Return
(bool) Not already in the group or a lower group.
Source Source
File: wp-includes/class.wp-dependencies.php
* @param int|false $group Group level: level (int), no groups (false). * @return bool Not already in the group or a lower group. */ public function set_group( $handle, $recursion, $group ) { $group = (int) $group; if ( isset( $this->groups[ $handle ] ) && $this->groups[ $handle ] <= $group ) { return false; } $this->groups[ $handle ] = $group;
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |