Last active
January 12, 2020 11:55
-
-
Save imran-khan1/863f73d6389f51aad6fb6eb558f340b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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