bp_group_directory_page_content()

Function to add the content on top of group listing

Description

Source

File: bp-groups/bp-groups-functions.php

4029
4030
4031
4032
4033
4034
4035
4036
4037
function bp_group_directory_page_content() {
 
    $page_ids = bp_core_get_directory_page_ids();
 
    if ( ! empty( $page_ids['groups'] ) ) {
        $group_page_content = get_post_field( 'post_content', $page_ids['groups'] );
        echo apply_filters( 'the_content', $group_page_content );
    }
}

Changelog

Changelog
Version Description
BuddyBoss 1.2.5 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.