Iniciador del debate
cuhetes
(@cuhetes)
Muchas gracias. Ya he encontrado la solución. Por si a alguien le sirve.
He instalado el plugin snippet y me he creado un snippet nuevo con este código.
function my_checkout_value( $value, $input ) {
if ( in_array( $input, array( 'billing_first_name', 'billing_last_name' ) ) ) {
return false;
}
return $value;
}
add_filter( 'woocommerce_checkout_get_value
-
Esta respuesta fue modificada hace 5 años, 3 meses por cuhetes.