Created
February 23, 2021 22:06
-
-
Save webdados/aac9dab4002594b30db05aaaea619370 to your computer and use it in GitHub Desktop.
Return 10 users and 10 order (20 results) to the Shop As Client Pro Add-on autocomplete feature
This file contains 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
<?php | |
//Return 10 users and 10 order (20 results) to the Shop As Client Pro Add-on autocomplete feature | |
add_filter( 'shop_as_client_autocomplete_limit', function( $limit ) { | |
return 10; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment