wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_mail_charset › WordPress Filter Hooks

Since2.3.0
Deprecatedn/a
apply_filters( 'wp_mail_charset', $charset )
Parameters:
  • (string) $charset Default email charset.
    Required: Yes
Defined at:
Codex:

Filters the default wp_mail() charset.





Source

$phpmailer->CharSet = apply_filters( 'wp_mail_charset', $charset );