wp_mail_original_content WordPress Filter Hook
The wp_mail_original_content hook allows you to modify the content of an email before it is sent. This can be useful for adding additional content to an email, or for changing the format of the email.
apply_filters( 'wp_mail_original_content', string $content ) #
Filters the original content of the email.
Description
Give Post-By-Email extending plugins full access to the content, either the raw content, or the content of the last quoted-printable section.
Parameters
- $content
(string)The original email content.
Source
File: wp-mail.php
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |