Summery Summery
Normalize line breaks in a string.
Syntax Syntax
Description Description
Converts UNIX LF, Mac CR and Windows CRLF line breaks into a single line break format. Defaults to CRLF (for message bodies) and preserves consecutive breaks.
Parameters Parameters
- $text
-
(Required)
- $breaktype
-
(Optional) What kind of line break to use, defaults to CRLF
Default value: "rn"
Return Return
(string)
Source Source
File: wp-includes/class-phpmailer.php