bp_get_activity_thread_permalink()
Return the activity thread permalink.
Description
Return
(string) $link The activity thread permalink.
Source
File: bp-activity/bp-activity-template.php
function bp_get_activity_thread_permalink() {
global $activities_template;
$link = bp_activity_get_permalink( $activities_template->activity->id, $activities_template->activity );
/**
* Filters the activity thread permalink.
*
* @since BuddyPress 1.2.0
*
* @param string $link The activity thread permalink.
*/
return apply_filters( 'bp_get_activity_thread_permalink', $link );
}
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.