[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/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

  groups_action_leave_group()
  groups_action_clean_up_invites_requests()

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()}.

return: bool
since: 1.2.4

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: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1