WP REST API - Custom Filters
In this video we are going to create filters for our WP REST API custom end point so that we can filter our data.
Having a custom endpoint for our custom post types is great, but it’s much better to also have custom filters on our WordPress REST API custom end point. In this video we are going to create a filter for our route, so that we have an API for filtering the data, in our case by price.