Forked from Balakrishnan-flycart/Woo Discount Rules v2 -Increase search result limit
Created
October 22, 2021 10:28
-
-
Save AshlinRejo/4700227e045532af2ca45f69f30c119f to your computer and use it in GitHub Desktop.
Discount Rules v2 - Increase search result limit
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('advanced_woo_discount_rules_select_search_limit', function($search_result_limit){ | |
$search_result_limit = 50; | |
return $search_result_limit; | |
}, 10, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment