One of the great things on WordPress is its extensibility, this is a fact. You can extend it through plugins, themes leveraging the power of it. Another thing that you can easily extend on WordPress is the custom post types.
Creating custom post types is something that takes WordPress to a whole new level of customization in terms of CMS features. You are not limited to posts and pages.
Now we have the select the right method for this which is going to be the GET.
Also choose the endpoint purpose which is “Display Custom Table Entries” as you can see below:
Save it and it is done! You custom endpoint for the cars custom WordPress table is now available. Let’s access it like shown in the image below:
Nice! The filters worked just fine!
Feel free to go back in the editing page and play with some other options, like Limit & Offset and Ordering.