phone_content
Filters the content of the post submitted by email before saving.
Использование
add_filter( 'phone_content', 'wp_kama_phone_content_filter' ); /** * Function for `phone_content` filter-hook. * * @param string $content The email content. * * @return string */ function wp_kama_phone_content_filter( $content ){ // filter... return $content; }
- $content(строка)
- The email content.
Список изменений
С версии 1.2.0 | Введена. |
Где вызывается хук
В файле: /wp-mail.php
wp-mail.php 216
$post_content = apply_filters( 'phone_content', $content );