I’m trying to make a A-Z index and would like to filter the response of my custom taxonomy by the first letter of the taxonomy name. So, if I have [‘Ana’, ‘Olina’, ‘Ford’], i’d like something like wp-json/wp/v2/names/?starts_with=A to give me only ‘Ana’. Right now if I do names/?search=A, i’m getting ‘Ana’ and ‘Olina’
I have looked but I haven’t found anything similar.
Read more here:: WP REST API – Limit the taxonomy search to the first letter