bp_group_invite_status_fallback

  • apply_filters( 'bp_group_invite_status_fallback', 'members' )

    Source Reference:

    • Component: BuddyPress :: bp-groups
      File: /bp-groups/bp-groups-template.php :: Trac Source Line: 944
      		} else {
      			return false;
      		}
      	}
      
      	$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
      

Comments are closed.