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