bp_get_activity_comment_link()
Return the activity comment link.
Description
Return
(string) The activity comment link.
Source
File: bp-activity/bp-activity-template.php
function bp_get_activity_comment_link() { global $activities_template; /** * Filters the comment link for the current activity comment. * * @since BuddyPress 1.2.0 * * @param string $value Constructed URL parameters with activity IDs. */ return apply_filters( 'bp_get_activity_comment_link', '?ac=' . $activities_template->activity->id . '/#ac-form-' . $activities_template->activity->id ); }
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.