bp_get_groups_directory_permalink()

Return group directory permalink.

Description

Return

(string)

Source

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

112
113
114
115
116
117
118
119
120
121
122
function bp_get_groups_directory_permalink() {
 
    /**
     * Filters the group directory permalink.
     *
     * @since BuddyPress 1.5.0
     *
     * @param string $value Permalink for the group directory.
     */
    return apply_filters( 'bp_get_groups_directory_permalink', trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_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.