WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. mmx38
    Member
    Posted 2 years ago #

    Hello!

    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
    Member
    Posted 2 years ago #

    There must be a hook function for that.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.