I’m looking for the add_action() hook for when a current post is edited and saved. I know there’s edit_post
and save_post
, but I’m looking for something that ONLY fires when a current post is edited, not created or altered in any other way.
Leave a Reply
You must be logged in to post a comment.
Not a real answer.
Take a look the files that use save_post and edit_post
It will lead you to the hook post_updated
Take a look and see if you can find a hook you need. Keep in mind that you might need to do some checks in the hook.
You’ll figure it out.
The codex doesn’t really give much information but it does look like
edit_post
is the hook to use.