Custom URL Query Parameter

Hello Frontity!

I have a custom rest query hook (https://developer.wordpress.org/reference/hooks/rest_this-post_type_query/) set up on my wordpress backend that I would like to use to filter a custom post type endpoint’s response. Every time I try to do this using actions.source.fetch function, the custom URL parameters I use and look for in the query hook get stripped and the request is made with just the default parameters.

Any help much appreciated! Thank you :slight_smile:

Duplicate of Custom URL query parameters