Call a function when post is updated! (2 posts)

  1. mmx38
    Posted 1 year ago #


    I created a post (of custom type) and I want to update some of the details (eg the title). On the update I want to run a custom function to update a table outside wordpress. I do not know how to distinguish that the post is updated so I can run the function.

    I know how to run a function when the post is created but not when it is updated..

    Any suggestions?

    Thanks in advance!

  2. RossMitchell
    Posted 1 year ago #

    There must be a hook function for that.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.