• Okay, so I’ve been developing a plugin and it requires that I insert some data from a selection form that I added to the posting page into a database. I have:

    add_action('publish_post', 'function_name')
    add_action('save_post', 'function_name')

    Those two hooks seem to cover saving, editing, and publishing posts. I’m wondering if I’m missing something by not including the edit_post hook. What does it do?

    Many thanks,
    ZephyrWest

  • The topic ‘What does the edit_post hook do?’ is closed to new replies.