Functions |
Description |
---|---|
groups_action_clean_up_invites_requests() |
Clean up requests/invites when a member leaves a group. |
groups_action_create_group() |
Catch and process group creation form submissions. |
groups_action_group_feed() |
Load the activity feed for the current group. |
groups_action_join_group() |
Catch and process “Join Group” button clicks. |
groups_action_leave_group() |
Catch and process “Leave Group” button clicks. |
groups_action_redirect_to_random_group() |
Catch requests for a random group page (example.com/groups/?random-group) and redirect. |
groups_action_sort_creation_steps() |
Sort the group creation steps. |
groups_add_groupmeta() |
Add a piece of group metadata. |
groups_ajax_widget_groups_list() |
AJAX callback for the Groups List widget. |
groups_at_message_notification() |
Send an email and a BP notification on receipt of an @-mention in a group |
groups_avatar_upload() | |
groups_avatar_upload_dir() |
Generate the avatar upload directory path for a given group. |
groups_ban_member() |
Ban a member from a group. |
groups_can_user_manage_albums() |
Check whether a user is allowed to manage albums in a given group. |
groups_can_user_manage_document() |
Check whether a user is allowed to manage document in a given group. |
groups_can_user_manage_folders() |
Check whether a user is allowed to manage albums in a given group. |
groups_can_user_manage_media() |
Check whether a user is allowed to manage media in a given group. |
groups_can_user_manage_messages() |
Check whether a user is allowed to manage messages in a given group. |
groups_check_for_membership_request() |
Check whether a user has an outstanding membership request for a given group. |
groups_check_group_exists() |
groups_check_group_exists( $group_slug ) |
groups_check_has_invite_from_user() |
Check to see whether a user has already been invited to a group by a particular user. |
groups_check_slug() |
Provide a unique, sanitized version of a group slug. |
groups_check_user_has_invite() |
Check to see whether a user has already been invited to a group. |
groups_clear_group_administrator_cache() |
Clear group administrator and moderator cache. |
groups_clear_group_administrator_cache_on_member_save() |
Clear group administrator and moderator cache when a group member is saved. |
groups_clear_group_object_cache() |
Clear the cached group count. |
groups_clear_group_type_cache() |
Clear the group type cache for a group. |
groups_clear_group_user_object_cache() |
Clear a user’s cached group count. |
groups_create_group() |
Create a group. |
groups_delete_all_group_invites() |
Delete all invitations to a given group. |
groups_delete_group() |
Delete a group and all of its associated metadata. |
groups_delete_groupmeta() |
Delete metadata for a group. |
groups_delete_invite() |
Delete a group invitation. |
groups_delete_membership_request() |
Delete a pending group membership request. |
groups_demote_member() |
Demote a user to ‘member’ status within a group. |
groups_directory_groups_setup() |
Handle the display of the Groups directory index. |
groups_edit_base_group_details() |
Edit the base details for a group. |
groups_edit_group_settings() |
Edit the base details for a group. |
groups_format_notifications() |
Format notifications for the Groups component. |
groups_get_current_group() |
Get the BP_Groups_Group object corresponding to the current group. |
groups_get_group() |
Fetch a single group object. |
groups_get_group_admins() |
Get a list of group administrators. |
groups_get_group_members() |
Fetch the members of a group. |
groups_get_group_mods() |
Get a list of group moderators. |
groups_get_groupmeta() |
Get a piece of group metadata. |
groups_get_groups() |
Get a collection of groups, based on the parameters passed. |
groups_get_id() |
Get a group ID by its slug. |
groups_get_id_by_previous_slug() |
Get a group ID by checking against old (not currently active) slugs. |
groups_get_invite_count_for_user() |
Get the total group invite count for a user. |
groups_get_invited_to_group_ids() |
Get an array of group IDs to which a user is invited. |