Skip to content

Instantly share code, notes, and snippets.

@webdados
Created September 28, 2020 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webdados/274051d778c897eec834b38d4d611049 to your computer and use it in GitHub Desktop.
Save webdados/274051d778c897eec834b38d4d611049 to your computer and use it in GitHub Desktop.
Change NIF field priority on the WooCommerce checkout
<?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