From: Chuck Scott Date: Thu, 18 Feb 2016 20:07:58 +0000 (-0500) Subject: Set placeholder in address field on checkout to new text X-Git-Tag: v1.0.16^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=bf573b50291456511f069bb87176d268b775a3e8;p=WP-Themes%2FTomsMomsCookies.git Set placeholder in address field on checkout to new text --- diff --git a/functions.php b/functions.php index 434c8d3..ab24780 100755 --- a/functions.php +++ b/functions.php @@ -290,6 +290,7 @@ add_filter( 'wc_order_statuses', 'glm_change_order_status_names' ); // Drop billing address line 2 in WooCommerce checkout page function custom_wc_checkout_fields( $fields ) { unset($fields['billing']['billing_address_2']); + $fields['billing']['billing_address_1']['placeholder'] = "Billing address must match your credit card!"; return $fields; } add_filter( 'woocommerce_checkout_fields' , 'custom_wc_checkout_fields' ); diff --git a/style.css b/style.css index 3dcdbfc..c9a4d9e 100755 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: Tom's Mom's Cookies Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme made for Tom's Mom's Cookies. -Version: 1.0.15 +Version: 1.0.16 */