bp_group_directory_page_content()
Function to add the content on top of group listing
Description
Source
File: bp-groups/bp-groups-functions.php
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
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.