Skip to content

Instantly share code, notes, and snippets.

@SirDarcanos
Created September 8, 2015 08:09
Show Gist options
  • Save SirDarcanos/2e178ed6f0d9a58e9959 to your computer and use it in GitHub Desktop.
Save SirDarcanos/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