bp_get_activity_feed_item_link()

Return the activity feed item link.

Description

Return

(string) The activity feed item link.

Source

File: bp-activity/bp-activity-template.php

3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
function bp_get_activity_feed_item_link() {
    global $activities_template;
 
    $retval = ! empty( $activities_template->activity->primary_link )
        ? $activities_template->activity->primary_link
        : '';
 
    /**
     * Filters the activity feed item link.
     *
     * @since BuddyPress 1.0.0
     *
     * @param string $retval The URL for the activity feed item.
     */
    return apply_filters( 'bp_get_activity_feed_item_link', $retval );
}

Changelog

Changelog
Version Description
BuddyPress 1.0.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.