Support » Plugins » [Plugin: Notifly] remove comment email

  • I would like to send an email only when I publish a post, but not for each comment.

    I put the following code into the function.php

    global $notifly;
    remove_action('comment_post', array( $notifly, 'comment_email' ), 10, 2 );

    But this does not work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Actually it works for me! There was a different problem which cuased this code not to work.

    I hope this others!

    I hope to see this built in a future version of Notifly. Ideally, we could turn off/on comment notification via admin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Notifly] remove comment email’ is closed to new replies.