WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Jetpack Shown In Dashboard To Subscribers (3 posts)

  1. AK Ted
    Member
    Posted 1 year ago #

    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/

  2. AK Ted
    Member
    Posted 1 year ago #

    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.

  3. dazwicker
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic