[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress Groups Actions. Action functions are exactly the same as screen functions, however they do not have a template screen associated with them. Usually they will send the user back to the default screen after execution.
File Size: | 620 lines (22 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
bp_groups_register_group_types() X-Ref |
Fire the 'bp_groups_register_group_types' action. since: 2.6.0 |
bp_groups_group_access_protection() X-Ref |
Protect access to single groups. since: 2.1.0 |
groups_action_create_group() X-Ref |
Catch and process group creation form submissions. since: 1.2.0 return: bool |
groups_action_join_group() X-Ref |
Catch and process "Join Group" button clicks. since: 1.0.0 return: bool |
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_sort_creation_steps() X-Ref |
Sort the group creation steps. since: 1.1.0 return: false|null False on failure. |
groups_action_redirect_to_random_group() X-Ref |
Catch requests for a random group page (example.com/groups/?random-group) and redirect. since: 1.2.0 |
groups_action_group_feed() X-Ref |
Load the activity feed for the current group. since: 1.2.0 return: false|null False on failure. |
bp_groups_update_orphaned_groups_on_group_delete( $group ) X-Ref |
Update orphaned child groups when the parent is deleted. param: BP_Groups_Group $group Instance of the group item being deleted. since: 2.7.0 |
Generated: Sun Apr 1 01:00:58 2018 | Cross-referenced by PHPXref 0.7.1 |