I want to shown get categories which have starting word (A or M etc).
I search to much but can’t find a solution.
Let me Describe my Plan.
I have 100 categories list .
From all categories i want to search some categories which name start from a character (MA or CA).
what will be best query??
It will be a search function. I will type MA and press search button then query will return categories which name start from MA.
It will be a WordPress Query.
<form> <input type="text" name="s" placeholder="Type Category word"> <button type="submit" name="search" value="search">Search</button> </form>
Thanks in advance.
Read more here: Show categories which start from a character