-
-
Save alcovegan/ca8e6c230d1ecb9c629e5b90765dfaf3 to your computer and use it in GitHub Desktop.
Get Page using slug from WP Rest API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://localhost/wp-json/pages?filter[name]=the-page-slug | |
| // or this seems to work too: | |
| http://localhost/wp-json/pages/the-page-slug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment