W3cubDocs

/WordPress

apply_filters( ‘comment_flood_message’, string $comment_flood_message )

Filters the comment flood error message.

Parameters

$comment_flood_messagestring
Comment flood error message.

Source

$comment_flood_message = apply_filters( 'comment_flood_message', __( 'You are posting comments too quickly. Slow down.' ) );

Changelog

Version Description
5.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_flood_message