Keep only first published and Latest revision versions of a post

Question

I’ve got a custom post type where the posts often undergo several minor revisions.

Saving all the revisions is unnecessary and seems wasteful to keep so many useless DB entries.

But I do need to keep the Original (first published version) and the Latest (most recently updated version).

Can anyone point me in the direction of how to accomplish this?

0
, brandonjp 2 years 2019-10-28T04:26:49-05:00 0 Answers 53 views 0

Leave an answer

Browse
Browse