Action hook for editing post

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.

Related posts

Leave a Reply

2 comments

  1. The codex doesn’t really give much information but it does look like edit_post is the hook to use.

    edit_post
    Runs when a post or page is updated/edited, including when a comment is added or updated (which causes the comment count for the post to update). Action function arguments: post or page ID.