mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-30 11:42:22 +08:00
6 lines
221 B
Text
6 lines
221 B
Text
add_filter( 'woocommerce_billing_fields', 'wc_move_checkout_email_field' );
|
|
|
|
function wc_move_checkout_email_field( $address_fields ) {
|
|
$address_fields['billing_email']['priority'] = 1;
|
|
return $address_fields;
|
|
}
|