wp_check_comment_data_max_lengths


wp_check_comment_data_max_lengths ( $comment_data )

Parameters:
  • (array) comment_data Array of arguments for inserting a comment.
Returns:
  • (WP_Error|true) WP_Error when a comment field exceeds the limit, otherwise true.
Defined at:

Description

Compares the lengths of comment data against the maximum character limits.

Related Functions

wp_get_comment_fields_max_lengths, wp_check_comment_disallowed_list, wp_check_comment_flood, wp_get_comment_status, wp_set_comment_status

Top Google Results

User discussions

wpseek mobile