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()


Top ↑

Source Source

File: includes/ld-groups.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.