Skip to content

Instantly share code, notes, and snippets.

@imran-khan1
Last active January 12, 2020 11:55
Show Gist options
  • Save imran-khan1/863f73d6389f51aad6fb6eb558f340b9 to your computer and use it in GitHub Desktop.
Save imran-khan1/863f73d6389f51aad6fb6eb558f340b9 to your computer and use it in GitHub Desktop.
<?php
//reorder flatsome checkout page email field
function ci_woo_reorder_fields($fields) {
$fields['billing']['billing_email']['priority'] = 20;
return $fields;
}
add_filter('woocommerce_checkout_fields','ci_woo_reorder_fields');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment