Forums

The remove_action function does not work for generic_ping (1 post)

  1. trapmuzik404
    Member
    Posted 2 years ago #

    I am using the UP Smart Update Pinger plugin and noticed that even when I uncheck the Enable pinging option, pings are still being sent to my ping list. I checked the code and noticed the plugin is using the remove_action function for the generic_ping function:

    remove_action("publish_post","generic_ping");

    My assumption was this should prevent the generic_ping function from running when a new post is published but that does not seem to be the case. Each time I published a new post my ping list got a ping from my site. When i went into wp-includes/comment.php and manually commented out the code that runs the generic_ping function the pings stopped. Is there something I am missing about how to prevent the generic_ping from running?

Topic Closed

This topic has been closed to new replies.

About this Topic