PHPMailer\PHPMailer
PHPMailer::stripTrailingBreaks
Strip trailing line breaks from a string.
Method of the class: PHPMailer{}
No Hooks.
Returns
String
. The text to remove breaks from
Usage
$result = PHPMailer::stripTrailingBreaks( $text );
- $text(string) (required)
- .
PHPMailer::stripTrailingBreaks() PHPMailer::stripTrailingBreaks code WP 6.8.1
public static function stripTrailingBreaks($text) { return rtrim($text, "\r\n"); }