bp_disable_invite_member_type( bool $default = false )
Is allow users to sign up the profile types to personal inviting?
Description
Parameters
- $default
-
(Optional) Fallback value if not found in the database. Default: false.
Default value: false
Return
(bool) True if allow users to sign up the profile types to personal inviting enabled, otherwise false.
Source
File: bp-core/bp-core-options.php
function bp_disable_invite_member_type( $default = false ) { /** * Filters whether allow users to sign up the profile types to personal inviting is enabled or not. * * @since BuddyBoss 1.0.0 * * @param bool $value Whether allow users to sign up the profile types to personal inviting is enabled or not. */ return (bool) apply_filters( 'bp_disable_invite_member_type', (bool) bp_get_option( 'bp-disable-invite-member-type', $default ) ); }
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.