Created
July 14, 2017 02:58
-
-
Save anil3a/065ce80771f596385d8a5a9ae84ec26b to your computer and use it in GitHub Desktop.
Adding a filter to add extra custom fields for Wp Job Manager Search query job submission
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
// Adding a filter to add extra custom fields for Wp Job Manager Search query job submission. | |
add_filter( 'job_listing_searchable_meta_keys' , 'add_my_custom_post_meta_fields_here'); | |
function add_my_custom_post_meta_fields_here( $wp_job_search_fields ) | |
{ | |
return array_push( $wp_job_search_fields, "_job_Contact_Name"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment