bp_get_activity_directory_permalink()

Return activity directory permalink.

Description

Return

(string) Activity directory permalink.

Source

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

81
82
83
84
85
86
87
88
89
90
91
function bp_get_activity_directory_permalink() {
 
    /**
     * Filters the activity directory permalink.
     *
     * @since BuddyPress 1.5.0
     *
     * @param string $url Permalink url for the activity directory.
     */
    return apply_filters( 'bp_get_activity_directory_permalink', trailingslashit( bp_get_root_domain() . '/' . bp_get_activity_root_slug() ) );
}

Changelog

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