bp_blogs_screen_index()

Load the top-level Blogs directory.

Description

Source

File: bp-blogs/screens/directory.php

14
15
16
17
18
19
20
21
22
23
24
25
26
27
function bp_blogs_screen_index() {
    if ( bp_is_blogs_directory() ) {
        bp_update_is_directory( true, 'blogs' );
 
        /**
         * Fires right before the loading of the top-level Blogs screen template file.
         *
         * @since BuddyPress 1.0.0
         */
        do_action( 'bp_blogs_screen_index' );
 
        bp_core_load_template( apply_filters( 'bp_blogs_screen_index', 'blogs/index' ) );
    }
}

Changelog

Changelog
Version Description
BuddyPress 1.5-beta-1 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.