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

Filter to validate message content.

Description

Parameters

$validated_content

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

$content

(string) Content of the message.

$_POST

(array) 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.