bp_registration_options_delete_user_count_transient

Delete user count transient as needed.

Description

(boolean) bp_registration_options_delete_user_count_transient(); 

Returns (boolean)


Usage

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

Defined (1)

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

/includes/admin.php  
  1. function bp_registration_options_delete_user_count_transient() { 
  2. delete_transient( 'bpro_user_count' ); 
  3. delete_transient( 'bpro_total_user_count' ); 
  4.  
  5. return true;