Filter the Sharing Email Send Post Subject.
Parameters
- $var
string Sharing Email Send Post Subject. Default is "Shared Post".
Changelog
- Introduced in Jetpack 5.8.0
How to use this hook
Notes
You can use this filter to customize the subject line of the emails that are sent via the Email sharing button. Here is an example:
function jeherve_email_sharing_customize_subject() {
return 'Check this great post I just found!';
}
add_filter( 'wp_sharing_email_send_post_subject', 'jeherve_email_sharing_customize_subject' );