function plt_hide_booking_and_rental_manager_for_woocommerce_menus() { //Hide the "Rent Item" menu. remove_menu_page('rbfw_quick_setup'); } add_action('admin_menu', 'plt_hide_booking_and_rental_manager_for_woocommerce_menus', 11);
Where do I put this code?