Recently the WordPress Jetpack email sharing service is often abused by spammers. They use the Send to Email Address for sending spam. All these kind of "Tell a Friend" scripts are abused a lot. Here is how to disable email share service in Jetpack.

Imagine the WordPress scenario where Jetpack's email sharing service is active on your website, and is abused by spammers.

And suppose Jetpack's email share service is enabled but you don't have access to its settings in the WordPress dashboard. Either because you're the server systems administrator, or you have some other role, but you do want to stop the spam.

As long as you have access to your theme's functions.php file you can easily disable Jetpack's email sharing service.

To do so, you can use the following WordPress filter:

function saotn_kill_sharedaddy_email ( $services ) {
unset( $services['email'] );
return $services;
}
add_filter( 'sharing_services', 'saotn_kill_sharedaddy_email' );

Afterwards you can contact the WordPress site-admin and tell him (her) to disable the service in the Sharing Settings page (just refer them to this post).

Another option is to add reCaptcha to the Email button, as explained on Jetpack's support pages. You can find more of such handy filters and code examples here in my WordPress snippets post.

Donate a cup of coffee
Donate a cup of coffee

Thank you very much! <3 ❤️

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *