bbp_user_last_posted

Output the raw value of the last posted time.

Description

bbp_user_last_posted( (int) $user_id = 0 ); 

Parameters (1)

0. $user_id — Optional. (int)
User ID to retrieve value for

Usage

  1. if ( !function_exists( 'bbp_user_last_posted' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/users/options.php'; 
  3.  
  4. // User ID to retrieve value for 
  5. $user_id = -1; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bbp_user_last_posted($user_id); 
  9.  

Defined (1)

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

/includes/users/options.php  
  1. function bbp_user_last_posted( $user_id = 0 ) { 
  2. echo bbp_get_user_last_posted( $user_id );