Created
September 28, 2020 12:34
-
-
Save webdados/274051d778c897eec834b38d4d611049 to your computer and use it in GitHub Desktop.
Change NIF field priority on the WooCommerce checkout
This file contains 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 | |
//Change NIF field priority | |
add_filter( 'woocommerce_nif_field_priority', 'woocommerce_nif_field_priority' ); | |
function woocommerce_nif_field_priority( $priority ) { | |
//Default is 120 | |
return 25; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment