bp_allow_custom_registration( bool $default = false )
Allow custom registration.
Description
Parameters
- $default
-
(Optional) Fallback value if not found in the database. Default: false.
Default value: false
Return
(bool) True if Whether or not allow custom registrations.
Source
File: bp-core/bp-core-options.php
1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 | function bp_allow_custom_registration( $default = false ) { /** * Filters whether or not allow custom registrations. * * @since BuddyBoss 1.2.8 * * @param bool $value whether or not allow custom registrations. */ return (bool) apply_filters( 'bp_allow_custom_registration' , (bool) bp_get_option( 'allow-custom-registration' , $default ) ); } |
Changelog
Version | Description |
---|---|
BuddyBoss 1.2.8 | 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.