Full page NGINX (or Cloudflare) caching and WordPress nonces
Full page NGINX (or Cloudflare) caching and WordPress nonces
Full page NGINX (or Cloudflare) caching and WordPress nonces
Rest API and Custom Fields
Not all featured image sizes available in Rest API
Create Session with JWT
CORS & Remote access to WP via RestAPI
REST API custom endpoint without authentication for POST method?
This all works perfectly, but it seems too easy. Should I be passing a nonce along somewhere? No It seems like apiFetch has some middlewares that include a nonce – is this all done for us by default? Yes. If your endpoint requires a nonce and apiFetch did not provide it, then apiFetch would not … Read more
I stumbled upon this question long after it was asked – but for the sake of all readers in search on how to use this indeed poorly documented function, here is my answer: Do not use addEntities in the filter. It is not the same logic as in PHP backend. Putting it into BlockEdit filter … Read more
Formating content rendered from wordpress REST API as JSON and not HTML
Testing custom API endpoint with class dependency