• I have an e-commerce shop, and would like to hide the Posts, and tools sections for my shop manager, because they’re not needed. However, even when the boxes to hide it are ticked, they’re not hidden!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter evaldash

    (@evaldash)

    I found that I can hide the tabs in question using this code, put in functions.php:

    add_action(‘admin_menu’, ‘remove_admin_menu_links’);
    function remove_admin_menu_links(){
    $user = wp_get_current_user();
    if( $user && isset($user->user_email) && ‘[email protected]’ == $user->user_email ) {
    remove_menu_page(‘export-personal-data.php’);
    remove_menu_page(‘edit-tags.php?taxonomy=category’);
    }
    }
    remove_theme_support( ‘genesis-admin-menu’ );`

    Plugin Author Bhavin Thummar

    (@bhavinthummar)

    Hello @evaldash

    Apologies for the late response due to this pandemic situation.

    Thank for informing your issue. We have checked it our end and is working well.

    If you still any issue you can contact me.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Posts, tools sections aren’t hidden, even when ticked’ is closed to new replies.