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
2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 | 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.