Exception for api
-
Hi
I’am using force login for my wordpress and i need to add a exception for a special path in the wordpress api.
I have try with the filter v_forcelogin_bypass but that dont work with my api path.
I use register_rest_route function for register my route.
The reponse is:
{ "code": "rest_unauthorized", "message": "Seuls les utilisateurs authentifiés peuvent accéder à l’API REST.", "data": { "status": 401 } }
Thanks for the help
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Exception for api’ is closed to new replies.