Support » Plugins and Hacks » Hacks » Publish Post hook

  • I’ve got a plugin which uses the publish_post hook

    For some reason on some sites it seems that the following line:

    add_action(‘publish_post’, my_function’);

    causes my_function to be called multiple times.

    Is it something I’ve done wrong or it is something wrong somewhere else?

  • The topic ‘Publish Post hook’ is closed to new replies.