bp_group_get_invite_status

  • apply_filters( 'bp_group_get_invite_status', $invite_status, $group_id )

    Source Reference:

    • Component: BuddyPress :: bp-groups
      File: /bp-groups/bp-groups-template.php :: Trac Source Line: 947
      	}
      
      	$invite_status = groups_get_groupmeta( $group_id, 'invite_status' );
      
      	// Backward compatibility. When 'invite_status' is not set, fall back to a default value
      	if ( !$invite_status ) {
      		$invite_status = apply_filters( 'bp_group_invite_status_fallback', 'members' );
      	}
      
      	return apply_filters( 'bp_group_get_invite_status', $invite_status, $group_id );
      }
      
      /**
       * Can the logged-in user send invitations in the specified group?
       *
       * @package BuddyPress
       * @subpackage Groups Template
       * @since 1.5
       *
       * @param int $group_id (optional) The id of the group whose status you want to check
      

Comments are closed.