How to get post revisions in my custom rest API?
I want to fetch all post revisions for my posts.
I want to fetch all post revisions for my posts.
From just looking at your snippet you're not actually setting $post_revisions
to any value before assigning it to your $post_data
array
Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.