• Hi I’m trying to use the WP-REST API plugin and have a client able to basic auth to access post revisions, but I’ve run into a few problems:

    1. The content hasn’t been run through the content filters (particularly, the one that takes shortcodes and transforms them ie do_shortcode)
    2. All of the custom post_meta I’ve added to my endpoints isn’t in the revisions endpoint and I really need access to it without having to publish the posts (currently /post/[post_id]/revisions only returns author, date, guid, id, modified, parent, slug, title, content, excerpt, and _links)

    Basically I need this in order to hijack the preview button to have access to the data externally, which requires both the post and the post_meta info, but without publishing the changes necessarily.

    Many thanks for any help in solving this!

    https://www.ads-software.com/plugins/json-rest-api/

  • The topic ‘Post Revisions Endpoint – not including post meta’ is closed to new replies.