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.


Top ↑

Parameters

$content

(string)The original email content.


Top ↑

Source

File: wp-mail.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.