Filters the default wp_mail() charset.
Parameters
$charsetstring- Default email charset.
Source
$phpmailer->CharSet = apply_filters( 'wp_mail_charset', $charset );
Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
Filters the default wp_mail() charset.
$charsetstring$phpmailer->CharSet = apply_filters( 'wp_mail_charset', $charset );
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
Example Migrated from Codex:
Change the character encoding to UTF-32.