bp_is_messages_component()

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

Description

Return

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

Source

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

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

Changelog

Changelog
Version Description
BuddyPress 1.1.0 Introduced.