Created
January 31, 2011 22:16
-
-
Save mjangda/804947 to your computer and use it in GitHub Desktop.
Disable post status notifications for Edit Flow.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'ef_init', 'ef_x_kill_post_status_notifications' ); | |
function ef_x_kill_post_status_notifications() { | |
global $edit_flow; | |
remove_action( 'transition_post_status', array( &$edit_flow->notifications, 'notification_status_change' ) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment