Skip Navigation

Search a custom field in admin view

This support ticket is created vor 3 Jahre, 1 Monat. There's a good chance that you are reading advice that it now obsolete.

This topic contains 0 Antworten, has 1 Stimme.

Last updated by Bob Dowdy vor 3 Jahre, 1 Monat.

Assigned support staff: Shane.



I am trying to enable the admin search to search the custom field "wpcf-listing-id" of the content type "property".

I have looked at this ticket - - which led me to this non-woocommerce tutorial: hidden link

Unfortunately it doesn't work when I add it to functions.php, and breaks the admin search. In the php code I replaced the content type 'cars' with 'property' and '_car_vin` with 'wpcf-listing-id' as the meta key.

I would appreciate any help you could provide.

Thank you.