apply_filters ( 'wp_sharing_email_send_post_subject', string $var )

Filter the Sharing Email Send Post Subject.

Source file: modules/sharedaddy/sharedaddy.php

View in GitHub



(string) Sharing Email Send Post Subject. Default is ”Shared Post”.


Since: Jetpack 5.8.0

How to use this hook

See Using actions and filters to customize Jetpack.


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' );

Have a note to contribute?