@mtnporcupine Adding the meta keys to the $args
collection in the Rest Filter plugin should make it work. I had the very same issue.
Add this line:
array_push($vars, 'meta_value', 'meta_key', 'meta_compare');
Before this line (line 41 of the rest-api/plugin.php)
$vars = apply_filters( 'query_vars', $wp->public_query_vars );
I don’t encourage modifying core plugins, so you can either turn this into your own plugin, or there could be a cleaner way using WordPress hooks/filters.
-
This reply was modified 8 years ago by nickrigby.
-
This reply was modified 8 years ago by nickrigby.
-
This reply was modified 8 years ago by nickrigby.