Skip to content

Instantly share code, notes, and snippets.

@SiR-DanieL
Created September 8, 2015 08:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SiR-DanieL/2e178ed6f0d9a58e9959 to your computer and use it in GitHub Desktop.
Save SiR-DanieL/2e178ed6f0d9a58e9959 to your computer and use it in GitHub Desktop.
Increase the variations threshold to 50
add_filter( 'woocommerce_ajax_variation_threshold', 'wc_ninja_ajax_threshold' );
function wc_ninja_ajax_threshold() {
return 50;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment