[ Index ]

PHP Cross Reference of BuddyPress




/src/bp-groups/actions/ -> leave-group.php (summary)

Groups: Leave action

File Size: 92 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions


Functions that are not part of a class:

groups_action_leave_group()   X-Ref
Catch and process "Leave Group" button clicks.

When a group member clicks on the "Leave Group" button from a group's page,
this function is run.

Note: When leaving a group from the group directory, AJAX is used and
another function handles this. See {@link bp_legacy_theme_ajax_joinleave_group()}.

since: 1.2.4
return: bool

groups_action_clean_up_invites_requests( $user_id, $group_id )   X-Ref
Clean up requests/invites when a member leaves a group.

since: 5.0.0

Generated: Sat Aug 13 01:00:53 2022 Cross-referenced by PHPXref 0.7.1