meta field ID links to custom post type – show in admin seach

We have a meta field added to every row in our job listings “Location” which holds the ID of the location. “location-details” is a custom post type named “location-details”. So to get the Location name I need to lookup the “Location” ID field against the custom post type “location-details”.

How would I extend the admin edit function to include this Location Name and NOT the ID?
What custom search query would I need to add to the functions.php to include this in the search?

thanks
Craig.

Read more here:: meta field ID links to custom post type – show in admin seach

Leave a Reply

Your email address will not be published. Required fields are marked *