I am pretty new to writing plugins and this is the first that I have done that uses a table. I’m pretty much were I want to be but can’t get my head around how WP is saving the data (twice, first for the revision and then for the post). Ideally I’d like only to save this data for the post, so does any body know of a way to pick up if the save is for the revision so that I can ignore it?
- The topic ‘Only save data for ‘post’ not ‘revision’ when using “add_action(‘save_post’, .)”’ is closed to new replies.