phone_content
Filters the content of the post submitted by email before saving.
Usage
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(string)
- The email content.
Changelog
| Since 1.2.0 | Introduced. |
Where the hook is called
In file: /wp-mail.php
wp-mail.php 224
$post_content = apply_filters( 'phone_content', $content );