wp_mail_charset
Usage
add_filter( 'wp_mail_charset', 'wp_kama_wp_mail_charset_filter' ); function wp_kama_wp_mail_charset_filter( $charset ){ // filter... return $charset; }
- $charset(string)
- Default email charset.
Changelog
Since 2.3.0 | Introduced. |
Where the hook is called
wp_mail_charset
wp-includes/pluggable.php 501
$phpmailer->CharSet = apply_filters( 'wp_mail_charset', $charset );