bp_get_activity_thread_permalink()
Return the activity thread permalink.
Description Description
Return Return
(string) $link The activity thread permalink.
Source 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 1.2.0 * * @param string $link The activity thread permalink. */ return apply_filters( 'bp_get_activity_thread_permalink', $link ); }
Changelog Changelog
Version | Description |
---|---|
1.2.0 | Introduced. |