groups_template_group_request_membership

  • apply_filters( 'groups_template_group_request_membership', 'groups/single/home' ) )

    Source Reference:

    • Component: BuddyPress :: bp-groups
      File: /bp-groups/bp-groups-screens.php :: Trac Source Line: 442
      				bp_core_add_message( __( 'There was an error sending your group membership request, please try again.', 'buddypress' ), 'error' );
      			} else {
      				bp_core_add_message( __( 'Your membership request was sent to the group administrator successfully. You will be notified when the group administrator responds to your request.', 'buddypress' ) );
      			}
      			bp_core_redirect( bp_get_group_permalink( $bp->groups->current_group ) );
      		}
      
      		do_action( 'groups_screen_group_request_membership', $bp->groups->current_group->id );
      
      		bp_core_load_template( apply_filters( 'groups_template_group_request_membership', 'groups/single/home' ) );
      	}
      }
      
      function groups_screen_group_activity_permalink() {
      	global $bp;
      
      	if ( !bp_is_groups_component() || !bp_is_active( 'activity' ) || ( bp_is_active( 'activity' ) && !bp_is_current_action( bp_get_activity_slug() ) ) || !bp_action_variable( 0 ) )
      		return false;
      
      	$bp->is_single_item = true;
      

Comments are closed.