continue;
// For plugins to filter messages per reply/topic/user
$message = __( "%1$s wrote:nn%2$snnPost Link: %3$snnYou are recieving this email because you subscribed to it. Login and visit the topic to unsubscribe from these emails.", 'bbpress' );
$message = apply_filters( 'bbp_subscription_mail_message', sprintf( $message, $reply_author_name, strip_tags( bbp_get_reply_content( $reply_id ) ), bbp_get_reply_url( $reply_id ) ), $reply_id, $topic_id, $user_id );
if ( empty( $message ) )
continue;
// For plugins to filter titles per reply/topic/user
$subject = apply_filters( 'bbp_subscription_mail_title', '[' . get_option( 'blogname' ) . '] ' . bbp_get_topic_title( $topic_id ), $reply_id, $topic_id, $user_id );
if ( empty( $subject ) )
continue;
// Get user data of this user
$user = get_userdata( $user_id );
// Send notification email
wp_mail( $user->user_email, $subject, $message );
}