I know that later down the project, I’m going to have to work with revisions and deal with all the meta data in my CPT’s.
I started looking through your code Kevin, and I see your using add_metadata, instead of add_post_meta which allows for revisions. But what I didn’t realize is that you are doing this for all the meta fields automatically, which will make my job, so incredibly easy later, because all I have to do is mark ‘supports => array( ‘revisions’ ) to a field to make sure its being recorded with revisions.
Truly great coding bud.
I haven’t tried it yet, but I was wondering if you have set it up to show the changed meta fields in the revisions?
Thanks
Marcus