Changeset 10148 for trunk/src/bp-groups/bp-groups-actions.php
- Timestamp:
- 09/27/2015 05:25:02 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-actions.php
r9982 r10148 1 1 <?php 2 3 2 /** 4 3 * BuddyPress Groups Actions. … … 12 11 */ 13 12 14 // Exit if accessed directly 13 // Exit if accessed directly. 15 14 defined( 'ABSPATH' ) || exit; 16 15 … … 18 17 * Protect access to single groups. 19 18 * 20 * @since BuddyPress (2.1.0)19 * @since 2.1.0 21 20 */ 22 21 function bp_groups_group_access_protection() { … … 61 60 * logged-in users being redirected to wp-login.php. 62 61 * 63 * @since BuddyPress (2.1.0)62 * @since 2.1.0 64 63 * 65 64 * @param bool $user_has_access True if the user has access to the … … 195 194 * Filters the allowed invite statuses. 196 195 * 197 * @since BuddyPress (1.5.0)196 * @since 1.5.0 198 197 * 199 198 * @param array $value Array of statuses allowed. … … 226 225 * in the creation process. 227 226 * 228 * @since BuddyPress (1.1.0)227 * @since 1.1.0 229 228 */ 230 229 do_action( 'groups_create_group_step_save_' . bp_get_groups_current_create_step() ); … … 235 234 * Mostly for clearing cache on a generic action name. 236 235 * 237 * @since BuddyPress (1.1.0)236 * @since 1.1.0 238 237 */ 239 238 do_action( 'groups_create_group_step_complete' ); … … 271 270 * Fires after the group has been successfully created. 272 271 * 273 * @since BuddyPress (1.1.0)272 * @since 1.1.0 274 273 * 275 274 * @param int $new_group_id ID of the newly created group. … … 349 348 * Filters the template to load for the group creation screen. 350 349 * 351 * @since BuddyPress (1.0.0)350 * @since 1.0.0 352 351 * 353 352 * @param string $value Path to the group creation template to load. … … 394 393 * Filters the template to load for the single group screen. 395 394 * 396 * @since BuddyPress (1.0.0)395 * @since 1.0.0 397 396 * 398 397 * @param string $value Path to the single group template to load. … … 411 410 * another function handles this. See {@link bp_legacy_theme_ajax_joinleave_group()}. 412 411 * 413 * @since BuddyPress (1.2.4)412 * @since 1.2.4 414 413 */ 415 414 function groups_action_leave_group() { … … 505 504 * Load the activity feed for the current group. 506 505 * 507 * @since BuddyPress (1.2.0)506 * @since 1.2.0 508 507 * 509 508 * @return false|null False on failure.
Note: See TracChangeset
for help on using the changeset viewer.