groups_template_group_invite

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

    Source Reference:

    • Component: BuddyPress :: bp-groups
      File: /bp-groups/bp-groups-screens.php :: Trac Source Line: 411
      			// Send the invites.
      			groups_send_invites( $bp->loggedin_user->id, $bp->groups->current_group->id );
      			bp_core_add_message( __('Group invites sent.', 'buddypress') );
      			do_action( 'groups_screen_group_invite', $bp->groups->current_group->id );
      			bp_core_redirect( bp_get_group_permalink( $bp->groups->current_group ) );
      
      		} elseif ( !bp_action_variable( 0 ) ) {
      			// Show send invite page
      			bp_core_load_template( apply_filters( 'groups_template_group_invite', 'groups/single/home' ) );
      
      		} else {
      			bp_do_404();
      		}
      	}
      }
      
      function groups_screen_group_request_membership() {
      	global $bp;
      

Comments are closed.