-
Home
-
WP Time Slots Booking Form
- Tips
function plt_hide_wp_time_slots_booking_form_menus() {
//Hide "Settings → WP Time Slots Booking Form".
remove_submenu_page('options-general.php', 'cp_timeslotsbooking');
//Hide "WP Time Slots Booking Form".
remove_menu_page('cp_timeslotsbooking');
//Hide "WP Time Slots Booking Form → WP Time Slots Booking Form".
remove_submenu_page('cp_timeslotsbooking', 'cp_timeslotsbooking');
//Hide "WP Time Slots Booking Form → General Settings".
remove_submenu_page('cp_timeslotsbooking', 'cp_timeslotsbooking_settings');
//Hide "WP Time Slots Booking Form → Add Ons".
remove_submenu_page('cp_timeslotsbooking', 'cp_timeslotsbooking_addons');
//Hide "WP Time Slots Booking Form → Online Demo".
remove_submenu_page('cp_timeslotsbooking', 'cp_timeslotsbooking_odemo');
//Hide "WP Time Slots Booking Form → I Need Help".
remove_submenu_page('cp_timeslotsbooking', 'cp_timeslotsbooking_support');
//Hide "WP Time Slots Booking Form → Upgrade Plugin".
remove_submenu_page('cp_timeslotsbooking', 'cp_timeslotsbooking_upgrade');
}
add_action('admin_menu', 'plt_hide_wp_time_slots_booking_form_menus', 11);
Where do I put this code?