Last active
September 24, 2024 17:55
-
-
Save claudiosanches/6f91ad228c2176b986b2 to your computer and use it in GitHub Desktop.
Revisions
-
claudiosanches revised this gist
Jul 26, 2015 . No changes.There are no files selected for viewing
-
claudiosanches created this gist
Jul 13, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ function custom_wc_ajax_variation_threshold( $qty, $product ) { return 10; } add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 10, 2 );