permission_callback is not working
-
Hello.
I have created a custom endpoint and added it to WP REST Cache using the
wp_rest_cache/allowed_endpointsfilter. I also used thewp_rest_cache/determine_object_typefilter to set the object type.However, the
permission_callbackdoes not work when the request is cached. This means it bypasses the permission_callback function and returns the cached response.Is there any fix for this?
Thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.