@@ -11,20 +11,20 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | if ( function_exists( 'wc_od_get_delivery_date_field_args' ) ) { |
| 13 | 13 | |
| 14 | - /** |
|
| 15 | - * Change the arguments for the checkout delivery date field. |
|
| 16 | - * |
|
| 17 | - * @package lsx |
|
| 18 | - * @subpackage woocommerce |
|
| 19 | - * @param $args array |
|
| 20 | - * @return array |
|
| 21 | - */ |
|
| 22 | - function lsx_wc_delivery_date_args( $args = array(), $context ) { |
|
| 23 | - if ( 'checkout' === $context ) { |
|
| 24 | - $args['label'] = _x( 'Date', 'Delivery date checkout field label', 'lsx' ); |
|
| 25 | - } |
|
| 26 | - return $args; |
|
| 27 | - } |
|
| 28 | - add_action( 'wc_od_delivery_date_field_args', 'lsx_wc_delivery_date_args', 10, 2 ); |
|
| 14 | + /** |
|
| 15 | + * Change the arguments for the checkout delivery date field. |
|
| 16 | + * |
|
| 17 | + * @package lsx |
|
| 18 | + * @subpackage woocommerce |
|
| 19 | + * @param $args array |
|
| 20 | + * @return array |
|
| 21 | + */ |
|
| 22 | + function lsx_wc_delivery_date_args( $args = array(), $context ) { |
|
| 23 | + if ( 'checkout' === $context ) { |
|
| 24 | + $args['label'] = _x( 'Date', 'Delivery date checkout field label', 'lsx' ); |
|
| 25 | + } |
|
| 26 | + return $args; |
|
| 27 | + } |
|
| 28 | + add_action( 'wc_od_delivery_date_field_args', 'lsx_wc_delivery_date_args', 10, 2 ); |
|
| 29 | 29 | |
| 30 | 30 | } |