• I got password and username to login to my friend account. But I only have icons “profile”, “Visual Composer” and Collapse menu.

    Maybe this profile doesn’t have access to any other thing? How can I check that? Thank you.

    I tried to enter /wp-admin/images or /we-admin/edit.php But I don’t have access. How can I be 100% sure that this isn’t admin profile?

    My WP version is 4.8.3

    • This topic was modified 6 years, 9 months ago by erenyeager911.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @erenyeager911

    The best way is to ask your friends, or you can check code like this on functions.php.

    This limits access to plugins if you are not an admin.

    function remove_your_menu_items (){
    global $current_user;
    if ($current_user->user_login!=’admin’){
    remove_menu_page( ‘plugins.php’ );
    }
    }
    add_action( ‘admin_menu’, ‘remove_your_menu_items’, 100 );

    Thread Starter erenyeager911

    (@erenyeager911)

    Thanks for your time but I can’t access functions.php. I literally have only 3 icons. Is there a way to get o functions.php from a browser url?

    Hi @erenyeager911

    Unfortunately no.
    You would need access to functions.php via FTP or the Appearance icon at least.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Missing dashboard icons’ is closed to new replies.