Methods |
Description |
---|---|
BP_Groups_Member::delete() |
Delete a membership, based on user + group IDs. |
BP_Groups_Member::delete_all() |
Delete all memberships for a given group. |
BP_Groups_Member::delete_all_for_user() |
Delete all group membership information for the specified user. |
BP_Groups_Member::delete_invite() |
Delete an invitation, by specifying user ID and group ID. |
BP_Groups_Member::delete_request() |
Delete an unconfirmed membership request, by user ID and group ID. |
BP_Groups_Member::demote() |
Demote membership to Member status (non-admin, non-mod). |
BP_Groups_Member::get_all_for_group() |
Get members of a group. |
BP_Groups_Member::get_all_membership_request_user_ids() |
Get the IDs users with outstanding membership requests to the group. |
BP_Groups_Member::get_group_administrator_ids() |
Get a list of all a given group’s admins. |
BP_Groups_Member::get_group_ids() |
Get the IDs of the groups of which a specified user is a member. |
BP_Groups_Member::get_group_member_ids() |
Get the IDs of all a given group’s members. |
BP_Groups_Member::get_group_moderator_ids() |
Get a list of all a given group’s moderators. |
BP_Groups_Member::get_invite_count_for_user() |
Gets the total group invite count for a user. |
BP_Groups_Member::get_invites() |
Get a user’s outstanding group invitations. |
BP_Groups_Member::get_is_admin_of() |
Get the IDs of the groups of which a specified user is an admin. |
BP_Groups_Member::get_is_banned_of() |
Get the groups of which a specified user is banned from. |
BP_Groups_Member::get_is_mod_of() |
Get the IDs of the groups of which a specified user is a moderator. |
BP_Groups_Member::get_membership_ids_for_user() |
Get all membership IDs for a user. |
BP_Groups_Member::get_memberships_by_id() |
Get group membership objects by ID (or an array of IDs). |
BP_Groups_Member::get_random_groups() |
Get a list of randomly selected IDs of groups that the member belongs to. |
BP_Groups_Member::get_recently_joined() |
Get the IDs of the groups of which a specified user is a member, sorted by the date joined. |
BP_Groups_Member::get_user_memberships() |
Gets memberships of a user for purposes of a personal data export. |
BP_Groups_Member::get_user_object() |
Get the user object corresponding to this membership. |
BP_Groups_Member::populate() |
Populate the object’s properties. |
BP_Groups_Member::prime_group_admins_mods_cache() |
Prime the bp_group_admins cache for one or more groups. |
BP_Groups_Member::promote() |
Promote a member to a new status. |
BP_Groups_Member::refresh_total_group_count_for_user() |
Refresh the total_group_count for a user. |
BP_Groups_Member::refresh_total_member_count_for_group() |
Refresh the total_member_count for a group. |
BP_Groups_Member::remove() |
Remove the current membership. |
BP_Groups_Member::save() |
Save the membership data to the database. |
BP_Groups_Member::total_group_count() |
Get the count of groups of which the specified user is a member. |
BP_Groups_Member::unban() |
Unban the user from the group. |
BP_Groups_Membership_Requests_Template::__construct() |
Constructor method. |
BP_Groups_Membership_Requests_Template::has_requests() |
Whether or not there are requests to show. |
BP_Groups_Membership_Requests_Template::next_request() |
Moves up to the next request. |
BP_Groups_Membership_Requests_Template::requests() |
Finishes up the requests to display. |
BP_Groups_Membership_Requests_Template::rewind_requests() |
Rewinds the requests to the first in the list. |
BP_Groups_Membership_Requests_Template::the_request() |
Sets up the request to display. |
BP_Groups_Template::__construct() |
Constructor method. |
BP_Groups_Template::groups() |
Whether there are groups left in the loop to iterate over. |
BP_Groups_Template::has_groups() |
Whether there are groups available in the loop. |
BP_Groups_Template::next_group() |
Set up the next group and iterate index. |
BP_Groups_Template::rewind_groups() |
Rewind the groups and reset member index. |
BP_Groups_Template::the_group() |
Set up the current group inside the loop. |
BP_Groups_Theme_Compat::__construct() |
Set up theme compatibility for the Groups component. |
BP_Groups_Theme_Compat::create_content() |
Filter the_content with the create screen template part. |
BP_Groups_Theme_Compat::create_dummy_post() |
Update the global $post with create screen data. |
BP_Groups_Theme_Compat::create_template_hierarchy() |
Add custom template hierarchy to theme compat for the group create page. |
BP_Groups_Theme_Compat::directory_content() |
Filter the_content with the groups index template part. |
BP_Groups_Theme_Compat::directory_dummy_post() |
Update the global $post with directory data. |