bp_get_blog_signup_allowed()

Is blog signup allowed?

Description

Returns true if is_multisite() and blog creation is enabled at Network Admin > Settings.

Return

(bool) True if blog signup is allowed, otherwise false.

Source

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

	function bp_get_blog_signup_allowed() {

		if ( ! is_multisite() ) {
			return false;
		}

		$status = bp_core_get_root_option( 'registration' );
		if ( ( 'none' !== $status ) && ( 'user' !== $status ) ) {
			return true;
		}

		return false;
	}

Changelog

Changelog
Version Description
BuddyPress 1.2.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.