Created
January 18, 2023 12:21
-
-
Save jjmontalban/8ea4430c42dea55ca429fe128aacdef4 to your computer and use it in GitHub Desktop.
Cambia posicion el billing_phone en Woo
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
/** | |
* @snippet Cambia posicion el billing_phone | |
* @author JJMontalban | |
*/ | |
add_filter("woocommerce_checkout_fields", "order_fields", 150); | |
function order_fields($fields) { | |
$fields["billing"]["billing_phone"]["priority"] = 150; | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment