PHPMailer\PHPMailer

PHPMailer::stripTrailingWSP()public staticWP 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 6.0

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