WordPress.org

Ready to get started?Download WordPress

Forums

Publish Post hook (1 post)

  1. Steve
    Member
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic