bp_get_activity_feed_item_guid()
Returns the activity feed item guid.
Description Description
Return Return
(string) The activity feed item guid.
Source Source
File: bp-activity/bp-activity-template.php
function bp_get_activity_feed_item_guid() {
global $activities_template;
/**
* Filters the activity feed item guid.
*
* @since 1.1.3
*
* @param string $value Calculated md5 value for the activity feed item.
*/
return apply_filters( 'bp_get_activity_feed_item_guid', md5( $activities_template->activity->date_recorded . '-' . $activities_template->activity->content ) );
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |