I have database of posts with custom fields using advanced custom fields.
I need to search posts by custom fields using /../posts/?fieldname=ID
I found one solution on github, but i don’t understand where i can use “add_filter” function to recive keys and values from request, where i need to paste this code…
github link – github.com/Benuit/thermal-api-custom-fields/blob/7115d9a8ecf5a6ce360fb6692c6589ba797a00fb/thermal-api-custom-fields.php
- The topic ‘Custom fields search’ is closed to new replies.