Answers for "remove labels from woocommerve checkout"

0

remove labels from woocommerve checkout

// 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 ) {
     $fields['order']['order_comments']['placeholder'] = 'My new placeholder';
     $fields['order']['order_comments']['label'] = 'My new label';
     return $fields;
}
Posted by: Guest on June-30-2021

Code answers related to "remove labels from woocommerve checkout"

Browse Popular Code Answers by Language