bp_get_signup_allowed()
Is user signup allowed?
Description
Return
(bool)
Source
File: bp-members/bp-members-template.php
function bp_get_signup_allowed() { /** * Filters whether or not new signups are allowed. * * @since BuddyPress 1.5.0 * * @param bool $signup_allowed Whether or not new signups are allowed. */ return apply_filters( 'bp_get_signup_allowed', (bool) bp_get_option( 'users_can_register' ) ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.1.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.