/ php

WordPress Jetpack: Turn off auto-selection of social networks

If you’re using Jetpack’s Publicize feature in WordPress, you’ve probably noticed that all social network connections are automatically selected for you when you write a post. This can result in accidental sharing of posts to the wrong networks.

It’s pretty easy to turn off auto-selection though. Just add the following line of code to the functions.php file in your theme:

add_filter( 'publicize_checkbox_default', '__return_false' );

After doing this, you’ll need to select the networks that you want to share to each time you post.

More details here.