On this page
apply_filters( 'wp_get_comment_fields_max_lengths', int[] $lengths )
Filters the lengths for the comment form fields.
Parameters
$lengthsint[]-
Array of maximum lengths keyed by field name.
Source
File: wp-includes/comment.php. View all references
return apply_filters( 'wp_get_comment_fields_max_lengths', $lengths );
Related
Used By
| Used By | Description |
|---|---|
| wp_get_comment_fields_max_lengths() wp-includes/comment.php | Retrieves the maximum character lengths for the comment form fields. |
Changelog
| Version | Description |
|---|---|
| 4.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_get_comment_fields_max_lengths