bp_messages_star_content()
Screen content callback to display a user’s “Starred” messages page.
Description
Source
File: bp-messages/screens/starred.php
function bp_messages_star_content() { // Add our message thread filter. add_filter( 'bp_after_has_message_threads_parse_args', 'bp_messages_filter_starred_message_threads' ); // Load the message loop template part. bp_get_template_part( 'members/single/messages/messages-loop' ); // Remove our filter. remove_filter( 'bp_after_has_message_threads_parse_args', 'bp_messages_filter_starred_message_threads' ); }
Changelog
Version | Description |
---|---|
BuddyPress 2.3.0 | 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.