WordPress at a glance
function is not described

WP_Dependencies::set_group() public WP 2.8.0

Set item group, unless already in a lower group.

{} It's a method of the class: WP_Dependencies{}

No Hooks.

Return

true|false. Not already in the group or a lower group.

Usage

$WP_Dependencies = new WP_Dependencies();
$WP_Dependencies->set_group( $handle, $recursion, $group );
$handle(string) (required)
Name of the item. Should be unique.
$recursion(true|false) (required)
Internal flag that calling function was called recursively.
$group(int|false) (required)
Group level: level (int), no groups (false).

Changelog

Since 2.8.0 Introduced.

Code of WP_Dependencies::set_group() WP 5.7.1

<?php
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;

	return true;
}