JSON response for scheduled posts
-
Hi,
Is it possible to get JSON results for a post which is not in ‘publish’ status?
/wp-json/wp/v2/posts/xxx
So far figured that it’s about
permission_callback
when API registers all routes, but there’s no hook to it. In classWP_REST_Posts_Controller
there’s function for checking posts permission:get_item_permissions_check
I don’t want to use authentication but rather pass secret parameter as a security check.
Is this possible?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘JSON response for scheduled posts’ is closed to new replies.