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



wp_mail_content_type › WordPress Filter Hooks

Since2.3.0
Deprecatedn/a
apply_filters( 'wp_mail_content_type', $content_type )
Parameters:
  • (string) $content_type Default wp_mail() content type.
    Required: Yes
Defined at:
Codex:

Filters the wp_mail() content type.





Source

$content_type = apply_filters( 'wp_mail_content_type', $content_type );