learndash_get_groups_user_ids( int $group_id, boolean $bypass_transient = false )
Gets the list of users ids that belong to a group.
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 #
Namespace #
@package #
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/admin/classes-import-export/import/class-learndash-admin-import-associations-handler.php: Learndash_Admin_Import_Associations_Handler::update_groups () |
Updates groups. |
includes/ld-groups.php: learndash_get_course_groups_users_access () |
Gets the group’s user IDs if the course is associated with the group. |
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 () |
Listing user selector filter |
includes/admin/classes-posts-listings/class-learndash-admin-essays-listing.php: Learndash_Admin_Essays_Listing::learndash_listing_selector_user_query_args_essays () |
Listing user selector filter |
includes/admin/classes-posts-listings/class-learndash-admin-assignments-listing.php: Learndash_Admin_Assignments_Listing::listing_table_query_vars_filter_assignments () |
Listing table query vars |
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 () |
Listing table query vars |
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 () |
Builds the |
includes/settings/settings-metaboxes/class-ld-settings-metabox-group-users.php: LearnDash_Settings_Metabox_Group_Users_Settings::show_settings_metabox_fields () |
Show Settings Section Fields. |
includes/class-ld-lms.php: SFWD_LMS::course_progress_data () |
Course progress data |
includes/class-ld-lms.php: SFWD_LMS::quiz_export_init () |
Export quiz data to CSV |
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 () |
Get Group Users. |
includes/admin/class-learndash-admin-groups-users-list-table.php: Learndash_Admin_Groups_Users_List_Table::prepare_items () |
Prepare table list items This function performs the query and sets up the items to display. |
includes/admin/class-learndash-admin-groups-users-list.php: Learndash_Admin_Groups_Users_List::show_page () |
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. |