bp_registration_filter_wpmu_active_signup

Prevents blog creation in multisite for moderaated users.

Description

(string) bp_registration_filter_wpmu_active_signup( (string) $active_signup = '' ); 

Returns (string)

Parameters (1)

0. $active_signup — Optional. (string) => ''
Active signup value.

Usage

  1. if ( !function_exists( 'bp_registration_filter_wpmu_active_signup' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bp-registration-options/includes/core.php'; 
  3.  
  4. // Active signup value. 
  5. $active_signup = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bp_registration_filter_wpmu_active_signup($active_signup); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/core.php  
  1. function bp_registration_filter_wpmu_active_signup( $active_signup = '' ) { 
  2. return 'none';