You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using register_rest_route, I have set the following permission_callback on my custom route : 'permission_callback' => [$this, 'checkAPIAccess'.
The first time I call my route, the permission_callback is executed. Once the route is cached, the response is sent without checking my permission_callback function.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
Using register_rest_route, I have set the following permission_callback on my custom route :
'permission_callback' => [$this, 'checkAPIAccess'
.The first time I call my route, the permission_callback is executed. Once the route is cached, the response is sent without checking my permission_callback function.
Thanks.
The text was updated successfully, but these errors were encountered: