• I want to hide the short-code and widget to everyone except for super admin.
    I saw a code to hide Jetpack to non-admins and it works. How it can be used to hide this plugin?

    function jetpack_hide_from_others()
    {
    
        if ( ! current_user_can('edit_otehrs_posts') ) {
            remove_menu_page( 'jetpack' );
        }
    }
    add_action('jetpack_admin_menu', 'jetpack_hide_from_others');

    http://ww.wp.xz.cn/plugins/network-latest-posts/

The topic ‘Hide in MU’ is closed to new replies.