BP_Blogs_Component::__construct()

Start the blogs component creation process.

Description

Source

File: bp-blogs/classes/class-bp-blogs-component.php

26
27
28
29
30
31
32
33
34
35
36
37
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

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.