WordPress Rest Api Custom End point

Posted by Prem Tiwari | Updated on

WordPress Rest Api Custom End point. I guess it because you used d metacharacter for regex (?P\d+) that’s mean for digit, please try use S instead. The code should look like this:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers