• Resolved Enhance


    i’ve installed your *great* plugin but i can’t do one thing.
    I need to send email to the author ONLY when i send an EDITORIAL COMMENTS.
    I don’t need email notification for the status change.
    There’s a way to do it?

    The best is that the user will setup with a checkbox what email receive. Only Editorial Comments or all.. or nothing.

    Thanks for all.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Daniel Bachhuber


    Hey there,
    Edit Flow email notifications on status change are hooked into the ‘transition_post_status’ action. If you want to disable them entirely, I’d recommend removing that action after the plugin has been loaded. You’d do that with something like this:

    function ef_remove_post_status_notifications() {
    	global $edit_flow;
    	remove_action( 'transition_post_status', array( &$edit_flow->notifications, 'notification_status_change' ), 10, 3 );
    add_action( 'init', 'ef_remove_post_status_notifications' );

    Add that snippet to the functions.php file in your active WordPress theme and you should be set.

    Hope that helps!


    Thread Starter Enhance


    It seems work like a charm.
    Thank you! 🙂

    Plugin Contributor Daniel Bachhuber


    Wonderful! Keep the feedback and ideas coming



Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Edit Flow] Notification only for Editorial Comments’ is closed to new replies.