BP_Invitation_Manager::allow_invitation( array $args )

This is where custom actions are added (in child classes) to determine whether an invitation should be allowed.

Description

Parameters

$args

(Required) The parameters describing the invitation.

Return

(bool) True if allowed, false to end process.

Source

File: bp-core/classes/class-bp-invitation-manager.php

	public function allow_invitation( $args ) {
		return true;
	}

Changelog

Changelog
Version Description
BuddyBoss 1.3.5 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.