Support » Plugin: Jetpack by WordPress.com » Jetpack Shown In Dashboard To Subscribers

  • Resolved AK Ted

    (@akted)


    Why is it anyone’s business – besides mine or those I specifically tell – that Jetpack (or any other plugin) is even installed on my blog? Why does Jetpack unilaterally decide this? What is the purpose, or maybe I’m just missing something obvious?

    If and when I actually get any subscribers (or viewers for that matter) ANY information shown to the public should be that which I CHOOSE to show them.

    I forgot to include:
    Is there any way to stop this “functionality”?

    http://wordpress.org/extend/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks to Jeremy Herve for point out this thread. Here’s a way to block all users except administrators from seeing Jetpack in their Dashboard:

    <?php
    
    function hide_jetpack_from_others() {
    
        if ( ! current_user_can('administrator') ) {
            remove_menu_page( 'jetpack' );
        }
    }
    
    add_action('jetpack_admin_menu', 'hide_jetpack_from_others');

    The easiest way to enable this is to save that function to a file, such as

    jetpack-tweaks.php (or whatever you want to call it)

    and upload it to

    wp-content/mu-plugins (create directory if needed)

    mu-plugins, for those that don’t know, is a directory that WP scans and will run every .php file inside of. Basically, they’re plugins that don’t appear in your plugins admin interface.

    Thank you for sharing this AK Ted. I completely agree with your sentiments about controlling what is displayed on MY site. I was interested in Jetpack mostly for “Publicize” and its ability to syndicate blog posts to social media networks in one fell swoop. I have implemented the fix and it seems to be working just fine. This is exactly what i was looking for!
    Thanks again!
    Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Jetpack Shown In Dashboard To Subscribers’ is closed to new replies.