learndash_set_groups_users( int $group_id, array $group_users_new = array() )
Adds the list of given users to the group.
Description Description
Parameters Parameters
- $group_id
-
(Optional) Group ID. Default 0.
- $group_users_new
-
(Optional) A list of user IDs to add to the group.
Default value: array()
Source Source
File: includes/ld-groups.php
Changelog Changelog
Version | Description |
---|---|
2.1.2 | Introduced. |