Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Make custom meta field searchable
function my_wpjm_meta_key_dm() {
global $wpdb, $job_manager_keyword;
$searchable_meta_keys[] = '_my_meta_field';
return $searchable_meta_keys;
add_filter('job_listing_searchable_meta_keys', 'my_wpjm_meta_key_dm');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.