Hi, on this page http://codex.wordpress.org/Plugin_API/Action_Reference/wp_insert_post it says it’s only called once “wp_insert_post is called with the same parameters as Save_post, but is only called for new posts, after save_post has run. “
But it’s actually also called each time i update a post…
Does anyone know if it’s a bug? Is there a hook to add an action when a post is inserted for the first time only (for real)? (when the post is inserted into the database and given its ID)
- The topic ‘[Resolved] wp_insert_post’ is closed to new replies.