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

Parameters

$var

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


Changelog

Since: Jetpack 5.8.0


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

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s