wp_get_comment_fields_max_lengths

wp_get_comment_fields_max_lengths

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('wp_get_comment_fields_max_lengths') is found 1 times:

  • /wp-includes/comment.php line 1259
    	 * @since 4.5.0
    	 *
    	 * @param int[] $lengths Array of maximum lengths keyed by field name.
    	 */
    	return apply_filters( 'wp_get_comment_fields_max_lengths', $lengths );
    }
    
    /**
     * Compares the lengths of comment data against the maximum character limits.
     *
     * @since 4.7.0