bbp_is_anonymous

Is an anonymous topic/reply being made?.

Description

bbp_is_anonymous(); 

Usage

  1. if ( !function_exists( 'bbp_is_anonymous' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/users/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bbp_is_anonymous(); 
  7.  

Defined (1)

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

/includes/users/functions.php  
  1. function bbp_is_anonymous() { 
  2. if ( !is_user_logged_in() && bbp_allow_anonymous() ) 
  3. $is_anonymous = true; 
  4. else 
  5. $is_anonymous = false; 
  6.  
  7. return apply_filters( 'bbp_is_anonymous', $is_anonymous );