bp_is_messages_component()

Check whether the current page is part of the Messages component.


Return Return

(bool) True if the current page is part of the Messages component.


Source Source

File: bp-core/bp-core-template.php

function bp_is_messages_component() {
	return (bool) bp_is_current_component( 'messages' );
}