From: Chuck Scott Date: Thu, 18 Jun 2015 19:30:42 +0000 (-0400) Subject: Set maximum size of text for Gift Message to 150 characters. X-Git-Tag: v1.0.2^0 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=a93d6ac403316b7edfb711c56593ae20e06643e8;p=WP-Themes%2FTomsMomsCookies.git Set maximum size of text for Gift Message to 150 characters. --- 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 '';