Adding Custom Endpoints

Create a simple GET endpoint Create a simple POST endpoint Authenticating the current user in a call to the endpoint A REST api request is by default non-authenticated. If you want to use things like get_current_user_id() in your endpoint handling code, you need to pass a nonce to the endpoint when calling it. If using […]

Read More