messages_notification_new_message_to

  • apply_filters( 'messages_notification_new_message_to', $email_to )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-notifications.php :: Trac Source Line: 47
      To view and read your messages please log in and visit: %s
      
      ---------------------
      ', 'buddypress' ), $sender_name, $subject, $content, $message_link );
      
      		$email_content .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
      
      		// Send the message
      		$email_to = apply_filters( 'messages_notification_new_message_to', $email_to );
      		$email_subject = apply_filters( 'messages_notification_new_message_subject', $email_subject, $sender_name );
      		$email_content = apply_filters( 'messages_notification_new_message_message', $email_content, $sender_name, $subject, $content, $message_link, $settings_link );
      
      		wp_mail( $email_to, $email_subject, $email_content );
      	}
      
      	do_action( 'bp_messages_sent_notification_email', $recipients, $email_subject, $email_content, $args );
      }
      
      ?>

Comments are closed.