bp_get_activity_feed_item_guid()
Returns the activity feed item guid.
Description
Return
(string) The activity feed item guid.
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 BuddyPress 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
Version | Description |
---|---|
BuddyPress 1.2.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.