bp_get_blogs_slug()
Return the blogs component slug.
Description
Return
(string) The 'blogs' slug.
Source
File: bp-blogs/bp-blogs-template.php
function bp_get_blogs_slug() {
/**
* Filters the blogs component slug.
*
* @since BuddyPress 1.5.0
*
* @param string $slug Slug for the blogs component.
*/
return apply_filters( 'bp_get_blogs_slug', buddypress()->blogs->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.