Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Md. Jobayer Al Mahmud

    (@jobayertuser)

    Dear @lwhwill
    You have to use this hook to remove the menu from the instructor dashboard.

    add_filter('tutor_dashboard/instructor_nav_items', 'remove_some_links');
    function remove_some_links($nav) {
    	unset($nav['withdrawal']);
    	return $nav;
    }
    Thread Starter lwhwill

    (@lwhwill)

    Hi, I have tried. The “withdrawal” function is still appearing in the instructor dashboard

    Plugin Support Md. Jobayer Al Mahmud

    (@jobayertuser)

    Dear @
    Typo missed here correct one is
    add_filter('tutor_dashboard/instructor_nav_items', 'remove_some_links');
    function remove_some_links($nav) { unset($nav['withdraw']); return $nav;
    }

    Hi @jobayertuser

    I am already using the hook to hide “withdraw” from the left Menu, it is working but I would also like to hide or remove from the settings dashboard.

    I am trying with this:

    add_filter('tutor_dashboard/instructor_nav_items', 'remove_some_links');
    function remove_some_links($nav){
    unset($nav['withdraw']);
    return $nav;
    }

    but it is not working, I can still see “withdraw” in the settings menu dashboard.

    I am also trying hidding with CSS using this code:

    .tutor-nav-item:nth-child(3) {
    display: none;
    }

    but the “more items dropdown menu” appears with the “withdraw” option.

    Any hint?

    Plugin Support Md. Jobayer Al Mahmud

    (@jobayertuser)

    Dear @lwhwill @jpariona
    The settings menu will not hide actually because it’s common for all user and there is some profile settings so it is not designed to hide the menu. But you can use CSS to hide.

    But withdraw menu hiding option working fine. If you are having problem for this please send and email to our support at themeum dot com.

    Try this, and Good luck!
    li.tutor-dashboard-menu-withdraw {display:none;}

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Documentation] Removal of “Withdrawal” in instructor dashboard’ is closed to new replies.