bp_registration_is_private_network

The BP Registration Options bp registration is private network function.

Description

bp_registration_is_private_network(); 

Usage

  1. if ( !function_exists( 'bp_registration_is_private_network' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bp-registration-options/includes/utility.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_registration_is_private_network(); 
  7.  

Defined (1)

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

/includes/utility.php  
  1. function bp_registration_is_private_network() { 
  2. $private_network = get_option( 'bprwg_privacy_network' ); 
  3.  
  4. if ( empty( $private_network ) || ! $private_network ) { 
  5. return false; 
  6.  
  7. return true;