Subscribe To Comments Reloaded
Plugin does not send notifications of comments added by wp_ (3 posts)

  1. lukaszwiecek
    Posted 4 years ago #


    To respond to comments plugin I'm using WordPress Commentify, which adds comments using the built-in WP functions wp_insert_comment(). Plugin Subscribe to Comments Reloaded does not send notifications of comments added in this way.

    Please help in solving this problem.

    Best regards!
    Lukasz Wiecek


  2. lukaszwiecek
    Posted 4 years ago #

    I found a solution. In the file, subscribe-to-comments-reloaded.php need to insert this code after line 98:

    add_action('wp_insert_comment', array(&$this, 'new_comment_posted'), 12, 2);

    Best regards!
    Lukasz Wiecek

  3. Jason Crouse
    Plugin Contributor

    Posted 4 years ago #

    Hi Lukasz,

    good catch! I was assuming that wp_insert_comment called the comment_post action hook, but evidently this is not the case. I'll add this new action to the code.

    Thank you for pointing it out. And please don't forget to vote for my plugin!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Subscribe To Comments Reloaded
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic