Remove Jetpack email sharing service

Reading Time: 1 Minute

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 Services service.

Imagine the scenario where Jetpack’s email sharing service on your website is abused by spammers.

Advertisement:

The 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, 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 (yes this hyperlink is intended – 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.

 

Advertisement:

Hi! Join the discussion, leave a reply!