BP_Blogs_Component::__construct()
Start the blogs component creation process.
Description
Source
File: bp-blogs/classes/class-bp-blogs-component.php
public function __construct() {
parent::start(
'blogs',
__( 'Site Directory', 'buddyboss' ),
buddypress()->plugin_dir,
array(
'adminbar_myaccount_order' => 30,
'search_query_arg' => 'sites_search',
'features' => array( 'site-icon' )
)
);
}
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.