W3cubDocs

/WordPress

apply_filters( 'wp_get_comment_fields_max_lengths', int[] $lengths )

Filters the lengths for the comment form fields.

Parameters

$lengths

(int[]) Array of maximum lengths keyed by field name.

Source

File: wp-includes/comment.php

View on Trac

Changelog

Version Description
4.5.0 Introduced.

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