Skip to content

Instantly share code, notes, and snippets.

@rashedripon
Created December 29, 2019 22:23
Show Gist options
  • Save rashedripon/78c671327225a6f55d209f67bd540522 to your computer and use it in GitHub Desktop.
Save rashedripon/78c671327225a6f55d209f67bd540522 to your computer and use it in GitHub Desktop.
Remove tabs under Dokan Vendor Dashboard > Booking
<?php
//Remove resources tab under Vendor Dashboard > Booking menu
add_filter('dokan_booking_nav_titles', function ($bookings) {
unset($bookings['resources']);
return $bookings;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment