bp_get_blogs_directory_permalink()
Return blog directory permalink.
Description
Return
(string) The URL of the Blogs directory.
Source
File: bp-blogs/bp-blogs-template.php
function bp_get_blogs_directory_permalink() { /** * Filters the blog directory permalink. * * @since BuddyPress 1.5.0 * * @param string $value Permalink URL for the blog directory. */ return apply_filters( 'bp_get_blogs_directory_permalink', trailingslashit( bp_get_root_domain() . '/' . bp_get_blogs_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.