From bf573b50291456511f069bb87176d268b775a3e8 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Thu, 18 Feb 2016 15:07:58 -0500 Subject: [PATCH] Set placeholder in address field on checkout to new text --- functions.php | 1 + style.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.17.1