bp_members_directory_page_content()
Function to add the content on top of members listing.
Description
Source
File: bp-members/bp-members-functions.php
function bp_members_directory_page_content() {
$page_ids = bp_core_get_directory_page_ids();
if ( ! empty( $page_ids['members'] ) ) {
$members_page_content = get_post_field( 'post_content', $page_ids['members'] );
echo apply_filters( 'the_content', $members_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.