apply_filters( 'bp_messages_message_validated_content', bool $validated_content, string $content, array $_POST )

Filter to validate message content.

Description

Parameters

$validated_content

True if message is not valid, false otherwise.

$content

Content of the message.

$_POST

POST Request Object.

Return

(bool) True if message is not valid, false otherwise.

Source

File: bp-templates/bp-nouveau/includes/messages/ajax.php

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.