set_mail_charset()
public static function set_mail_charset( $charset )
Sets the character set email header.
This is a target of the wp_mail_charset filter and is needed to get around a WordPress bug that ignores the charset attribute if added to the $headers parameter of wp_mail().
Since: 2.2
Source: common.php:2553
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$charset | string | Character set to be filtered. |
Returns
string