0

I need to enhance search capability for edit.php and custom post type of an existing plugin. I thought WooCommerce had an enhanced Search but I haven't been able to locate the code for it.

Basically, I want to add the ability of searching some post_meta and custom taxonomy. For example:

@some_meta_key=some_meta_value

This would return results where a post's post_meta values are LIKE the one specified for a given key. I would also like to search for post ID and post author, etc.

Has anyone done this before that can point me in the right direction on which hooks I need to use and how I would setup the query?

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.