bp_get_activity_directory_permalink()
Return activity directory permalink.
Description
Return
(string) Activity directory permalink.
Source
File: bp-activity/bp-activity-template.php
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
| 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.