bp_core_flush_illegal_names

Flush illegal names by getting and setting 'illegal_names' site option.

Description

bp_core_flush_illegal_names(); 

Usage

  1. if ( !function_exists( 'bp_core_flush_illegal_names' ) ) { 
  2. require_once '/bp-members/bp-members-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_core_flush_illegal_names(); 
  7.  

Defined (1)

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

/bp-members/bp-members-functions.php  
  1. function bp_core_flush_illegal_names() { 
  2. $illegal_names = get_site_option( 'illegal_names' ); 
  3. update_site_option( 'illegal_names', $illegal_names );