bp_activity_get_last_updated

Retrieve the last time activity was updated.

Description

(string) bp_activity_get_last_updated(); 

Returns (string)

Date last updated.


Usage

  1. if ( !function_exists( 'bp_activity_get_last_updated' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-activity/bp-activity-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_activity_get_last_updated(); 
  7.  

Defined (1)

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

/bp-activity/bp-activity-functions.php  
  1. function bp_activity_get_last_updated() { 
  2.  
  3. /** 
  4. * Filters the value for the last updated time for an activity item. 
  5. * @since 1.1.0 
  6. * @param BP_Activity_Activity $last_updated Date last updated. 
  7. */