wp_mail_original_content хук-фильтр . WP 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.
Использование
add_filter( 'wp_mail_original_content', 'filter_function_name_252' ); function filter_function_name_252( $content ){ // filter... return $content; }
- $content(строка)
- The original email content.
Список изменений
С версии 2.8.0 | Введена. |
Где вызывается хук
В файле:
/wp-mail.php
wp-mail.php 188
$content = apply_filters( 'wp_mail_original_content', $content );