From a93d6ac403316b7edfb711c56593ae20e06643e8 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Thu, 18 Jun 2015 15:30:42 -0400 Subject: [PATCH] Set maximum size of text for Gift Message to 150 characters. --- functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/functions.php b/functions.php index 6744962..a53b19c 100755 --- a/functions.php +++ b/functions.php @@ -146,6 +146,7 @@ function tm_added_checkout_fields( $checkout ) { 'class' => array('my-field-class form-row-wide'), 'label' => __(''), 'placeholder' => __('Enter any desired gift message here.'), + 'maxlength' => 150, ), $checkout->get_value( 'tm_gift_message' )); echo ''; -- 2.17.1