Summery Summery
Encode and wrap long multibyte strings for mail headers without breaking lines within a character.
Syntax Syntax
Description Description
Adapted from a function by paravoid
Parameters Parameters
- $str
-
(Required) multi-byte text to wrap encode
- $linebreak
-
(Optional) string to use as linefeed/end-of-line
Default value: null
Return Return
(string)
Source Source
File: wp-includes/class-phpmailer.php