apply_filters( 'wp_mail_content_type', string $content_type )
Filters the wp_mail() content type.
Description Description
Parameters Parameters
- $content_type
-
(string) Default wp_mail() content type.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Switch to HTML formatted email when using
wp_mail()
:Expand full source codeCollapse full source code