bp_enable_send_invite_member_type( string $member_type, bool $default = false )

Checks if member type have send invites enabled.

Description

Parameters

$member_type

(string) (Required) Member type

$default

(bool) (Optional) Fallback value if not found in the database. Default: true.

Default value: false

Return

(bool) Is member type send invites enabled or not

Source

File: bp-core/bp-core-options.php

function bp_enable_send_invite_member_type( $member_type, $default = false ) {
	return (bool) apply_filters( 'bp_enable_send_invite_member_type', (bool) get_option( $member_type, $default ) );
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 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.