filter

jetpack_sharing_twitter_via

Filters the Twitter username used as “via” in the Twitter sharing button.

Parameters

$twitter_site_tag_value
string

Twitter Username.

$post
int

->ID Post ID.

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.

Notes

You can use the filter to define a custom Twitter handle that will be added to the message generated when clicking on Jetpack’s Sharing button for Twitter:
function jetpackcom_custom_twitter_via() {
	return 'jakelikesonions';
}
add_filter( 'jetpack_sharing_twitter_via', 'jetpackcom_custom_twitter_via' );