SecuX

Showing the single result

// Hook in add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' ); // Our hooked in function - $fields is passed via the filter! function custom_override_checkout_fields( $fields ) { error_log(print_r($fields, true)); $fields['billing']['billing_city']['placeholder'] = "Something Different"; $fields['billing']['billing_city']['label'] = "Something Else"; return $fields; }