Hello,
I do have this issue on the checkout page (see attached):
what relates to that:
/**
* User to sort checkout fields based on priority with uasort.
*
* @since 3.5.1
* @param array $a First field to compare.
* @param array $b Second field to compare.
* @return int
*/
function wc_checkout_fields_uasort_comparison( $a, $b ) {
return wc_uasort_comparison( $a[‘priority’], $b[‘priority’] );
}
I found this: Sort checkout fields using PHP and not JS on initial page load as it … but you certainly know
https://github.com/woocommerce/woocommerce/blob/master/includes/wc-core-functions.php
Attachments:
You must be
logged in to view attached files.