Upon each edit/save (front and backend) of
post a new post type,
revision is created, replicating everything in the current version of the post. Each
revision is connected to the
post using Posts 2 Posts.
Creating a ticket system, I need the ability to track when a post changed taxonomy terms. For example, the taxonomy
status will change terms throughout the lifecycle of a post. I need to track when it was changed, what it was changed to, and who did it.
I have everything working on the backend, but I can't figure out how to get the frontend part working.
add_action( 'save_post', '...' ), but that doesn't capture what the JS is sending to WordPress. I figured that I need to interact with
jQuery( document ).bind('edit_saved', function(ev), but not sure where to start.
Ideas are certainly appreciated, and thanks for so many awesome plugins.