bp_get_signup_allowed()

Is user signup allowed?

Description

Return

(bool)

Source

File: bp-members/bp-members-template.php

2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
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

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.