learndash_get_groups_user_ids( int $group_id, boolean $bypass_transient = false )
Gets the list of users ids that belong to a group.
Contents
Description #
Parameters #
- $group_id
-
(int) (Optional) Group ID. Default 0.
- $bypass_transient
-
(boolean) (Optional) Whether to bypass transient cache or not.
Default value: false
Return #
(array) An array of user ids that belong to group.
Source #
File: includes/ld-groups.php
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |
Related #
Uses #
Uses | Description |
---|---|
includes/ld-groups.php: learndash_get_groups_users () |
Gets the list of user objects that belong to a group. |
Used By #
Used By | Description |
---|---|
includes/rest-api/v2/class-ld-rest-essays-controller.php: LD_REST_Essays_Controller_V2::rest_query_filter () |
Filter essays query args. |
includes/rest-api/v2/class-ld-rest-groups-users-controller.php: LD_REST_Groups_Users_Controller_V2::rest_query_filter () |
Filter Groups Users query args. |
includes/rest-api/v2/class-ld-rest-assignments-controller.php: LD_REST_Assignments_Controller_V2::rest_query_filter () |
Filter Assignments query args. |
includes/admin/classes-posts-listings/class-learndash-admin-assignments-listing.php: Learndash_Admin_Assignments_Listing::learndash_listing_selector_user_query_args_assignments () |
This function is documented in includes/admin/class-learndash-admin-posts-listing.php |
includes/admin/classes-posts-listings/class-learndash-admin-essays-listing.php: Learndash_Admin_Essays_Listing::learndash_listing_selector_user_query_args_essays () |
This function is documented in includes/admin/class-learndash-admin-posts-listing.php |
includes/admin/classes-posts-listings/class-learndash-admin-assignments-listing.php: Learndash_Admin_Assignments_Listing::listing_table_query_vars_filter_assignments () |
This function is documented in includes/admin/class-learndash-admin-posts-listing.php |
includes/admin/classes-posts-listings/class-learndash-admin-groups-listing.php: Learndash_Admin_Groups_Listing::show_column_course_users () |
Show Group Course Users column. |
includes/admin/classes-posts-listings/class-learndash-admin-essays-listing.php: Learndash_Admin_Essays_Listing::listing_table_query_vars_filter_essays () |
This function is documented in includes/admin/class-learndash-admin-posts-listing.php |
includes/ld-groups.php: learndash_get_groups_administrators_users () |
Get all Users within all Groups managed by the Group Leader. |
includes/ld-groups.php: learndash_get_groups_leaders_users_for_course_step () |
Get the Group Leader user for a specific Course step. |
includes/shortcodes/ld_groupinfo.php: learndash_groupinfo_shortcode () |
Shortcode that displays the requested group information |
includes/settings/settings-metaboxes/class-ld-settings-metabox-group-users.php: LearnDash_Settings_Metabox_Group_Users_Settings::show_settings_metabox_fields () | |
includes/class-ld-lms.php: SFWD_LMS::course_progress_data () | |
includes/class-ld-lms.php: SFWD_LMS::quiz_export_init () |
Export quiz data to CSV |
includes/ld-groups.php: get_course_groups_users_access () |
Gets the group’s user IDs if the course is associated with the group. |
includes/ld-groups.php: learndash_set_groups_users () |
Adds the list of given users to the group. |
includes/ld-groups.php: learndash_group_emails () |
Handles group email messages. |
includes/ld-reports.php: learndash_get_group_leader_groups_users () |
Gets the list or count of group users for a group leader. |
includes/ld-reports.php: learndash_get_assignments_pending_count () |
Gets the count of pending sfwd-assignment posts. |
includes/ld-reports.php: learndash_get_essays_pending_count () |
Gets the count of pending Essays(sfwd-essays) posts. |
includes/rest-api/v1/class-ld-rest-groups-users-controller.php: LD_REST_Groups_Users_Controller_V1::get_groups_users () | |
includes/admin/class-learndash-admin-groups-users-list-table.php: Learndash_Admin_Groups_Users_List_Table::prepare_items () | |
includes/admin/class-learndash-admin-groups-users-list.php: Learndash_Admin_Groups_Users_List::show_page () | |
includes/admin/classes-data-reports-actions/class-learndash-admin-data-reports-user-courses.php: Learndash_Admin_Data_Reports_Courses::process_report_action () |
Class method for the AJAX update logic This function will determine what users need to be converted. Then the course and quiz functions will be called to convert each individual user data set. |
includes/admin/classes-data-reports-actions/class-learndash-admin-data-reports-user-quizzes.php: Learndash_Admin_Data_Reports_Quizzes::process_report_action () |
Class method for the AJAX update logic This function will determine what users need to be converted. Then the course and quiz functions will be called to convert each individual user data set. |