bp_get_activity_comment_link()
Return the activity comment link.
Description Description
Return Return
(string) The activity comment link.
Source 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 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 Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |