WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::stripTrailingWSP() public WP 1.0

Remove trailing breaks from a string.

{} It's a method of the class: PHPMailer{}

No Hooks.

Return

String. The text to remove breaks from

Usage

$result = PHPMailer::stripTrailingWSP( $text );
$text(string) (required)
-

Code of PHPMailer::stripTrailingWSP() WP 5.7.2

<?php
public static function stripTrailingWSP($text)
{
    return rtrim($text, " \r\n\t");
}