Notify user for post status change <?php function notify_post_status( $post_id = NULL, $user = '' ) { if ( ! isset($_POST["post_id"]) ) { $post_id = $_POST["post_id"]; } else { return $post_id; } $post = get_post...