bp_registration_is_moderated

The BP Registration Options bp registration is moderated function.

Description

bp_registration_is_moderated(); 

Usage

  1. if ( !function_exists( 'bp_registration_is_moderated' ) ) { 
  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_moderated(); 
  7.  

Defined (1)

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

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