bp_activity_new_comment_notification_subject

  • apply_filters( 'bp_activity_new_comment_notification_subject', $subject, $poster_name )

    Source Reference:

    • Component: BuddyPress :: bp-activity
      File: /bp-activity/bp-activity-notifications.php :: Trac Source Line: 168
      To view your original update and all comments, log in and visit: %3$s
      
      ---------------------
      ', 'buddypress' ), $poster_name, $content, $thread_link );
      
      		$message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
      
      		/* Send the message */
      		$to = apply_filters( 'bp_activity_new_comment_notification_to', $to );
      		$subject = apply_filters( 'bp_activity_new_comment_notification_subject', $subject, $poster_name );
      		$message = apply_filters( 'bp_activity_new_comment_notification_message', $message, $poster_name, $content, $thread_link, $settings_link );
      
      		wp_mail( $to, $subject, $message );
      
      		do_action( 'bp_activity_sent_reply_to_update_email', $original_activity->user_id, $subject, $message, $comment_id, $commenter_id, $params );
      	}
      
      	/***
      	 * If this is a reply to another comment, send an email notification to the
      	 * author of the immediate parent comment.
      

Comments are closed.