Summery Summery
Encode a string in requested format.
Syntax Syntax
Description Description
Returns an empty string on failure.
Parameters Parameters
- $str
-
(Required) The text to encode
- $encoding
-
(Optional) The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable'
Default value: 'base64'
Return Return
(string)
Source Source
File: wp-includes/class-phpmailer.php