WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Notifly] remove comment email (3 posts)

  1. micharo
    Member
    Posted 3 years ago #

    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.
    Why?

  2. micharo
    Member
    Posted 3 years ago #

    Actually it works for me! There was a different problem which cuased this code not to work.

    I hope this others!
    Micharo

  3. thatwastaxing
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags