bp_member_last_active

Output the current member's last active time.

Description

bp_member_last_active( (array) $args = array() ); 

Parameters (1)

0. $args — Optional. (array) => array()
The args.

Options

  • (bp_get_member_last_active()}.) => null
array(
    '' => null
);        


Usage

  1. if ( !function_exists( 'bp_member_last_active' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-members/bp-members-template.php'; 
  3.  
  4. // The args. 
  5. $args = array( 
  6. '' => null 
  7. ); 
  8.  
  9. // NOTICE! Understand what this does before running. 
  10. $result = bp_member_last_active($args); 
  11.  

Defined (1)

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

/bp-members/bp-members-template.php  
  1. function bp_member_last_active( $args = array() ) { 
  2. echo bp_get_member_last_active( $args );