Can you query multiple custom fields at the same time?
-
Is it possible to apply a custom filter against multiple values? – eg: custom fields. For example can I get an object based on brand = x & colour = y and so on.
Currently it seems to be only working with one:
/api/get_posts/?post_type=product&custom_fields=all&meta_value=black
**the custom_fields=all is a custom modification to bring back all custom fields, including woocommerce data
The topic ‘Can you query multiple custom fields at the same time?’ is closed to new replies.