wp_mail_original_content filter-hookWP 2.8.0

Filters the original content of the email.

Give Post-By-Email extending plugins full access to the content, either the raw content, or the content of the last quoted-printable section.

Usage

add_filter( 'wp_mail_original_content', 'wp_kama_mail_original_content_filter' );

/**
 * Function for `wp_mail_original_content` filter-hook.
 * 
 * @param string $content The original email content.
 *
 * @return string
 */
function wp_kama_mail_original_content_filter( $content ){

	// filter...
	return $content;
}
$content(string)
The original email content.

Changelog

Since 2.8.0 Introduced.

Where the hook is called

In file: /wp-mail.php
wp_mail_original_content
wp-mail.php 193
$content = apply_filters( 'wp_mail_original_content', $content );

Where the hook is used in WordPress

Usage not found.