Created
September 8, 2015 08:09
-
-
Save SirDarcanos/2e178ed6f0d9a58e9959 to your computer and use it in GitHub Desktop.
Increase the variations threshold to 50
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
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