Remember This When Creating Dynamic Nonces for WordPress REST API
Dear Donny,One little tip for your future self if you’re creating a nonce dynamically for REST API requests with WordPress and its REST API: always use the correct action string — ‘wp_rest‘ — when generating the nonce. Which means, you would generate your nonce using: Security is the most single important detail, this detail is where the API … Read more