Is it possible to display previous post revision?
First we look into the wp_get_post_autosave function It’s informative to see how the core function wp_get_post_autosave() uses the wp_get_post_revisions() function. It loops over all revisions from $revisions = wp_get_post_revisions( $post_id, array( ‘check_enabled’ => false ) ); and then uses: foreach ( $revisions as $revision ) { if ( false !== strpos( $revision->post_name, “{$post_id}-autosave” ) ) … Read more