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
- Introduced in Jetpack 1.7.0
How to use this hook
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' );