-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add demo REST controller #117
Conversation
Hmm, looks like an issue with PHPCS now, don't think it's related to my code but I'll take a look later. |
I think we need to add into actions WPCS action template. (check here) |
Hmm, weird that this test passed on the previous commit though. |
indeed i was wrong, it is not an issue of with excluded paths and looking closely even files inside "./includes/" have the same problem. if you have the time try updating wpcs, the one we are using is an old version |
What?
This PR adds a demo REST Controller for fetching notifications.
Why?
This allows us to move the demo content to the PHP side, allowing real js querying of the endpoint.
How?
Testing Instructions
Screenshots or screencast