Created
July 26, 2022 21:33
-
-
Save tripflex/a71b35feb252bee98443532435448b07 to your computer and use it in GitHub Desktop.
Customize WP Job Manager Select2 Arguments
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 | |
add_filter( 'job_manager_select2_args', 'smyles_custom_select2_args' ); | |
function smyles_custom_select2_args( $args ){ | |
$args['minimumInputLength'] = 2; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment