bbp_current_anonymous_user_data

Echoes the values for current poster (uses WP comment cookies).

Description

bbp_current_anonymous_user_data( (string) $key = '' ); 

Parameters (1)

0. $key — Optional. (string) => ''
Which value to echo?

Usage

  1. if ( !function_exists( 'bbp_current_anonymous_user_data' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/users/functions.php'; 
  3.  
  4. // Which value to echo? 
  5. $key = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bbp_current_anonymous_user_data($key); 
  9.  

Defined (1)

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

/includes/users/functions.php  
  1. function bbp_current_anonymous_user_data( $key = '' ) {