V
V
Vasily Khryagin2020-10-13 22:41:12
WordPress
Vasily Khryagin, 2020-10-13 22:41:12

How to change output label to placeholder in woocomerce?

function truemisha_fio_field( $fields ) {
 
  $fields[ 'billing' ][ 'billing_first_name' ][ 'placeholder' ] = $fields[ 'billing' ][ 'billing_first_name' ][ 'label' ];
 
  return $fields;
 
}

I can change one field at a time, but is it possible to do everything at once somehow?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question