-
Home
-
WordPress Online Booking and Scheduling Plugin – Bookly
- Tips
How to Hide Bookly Admin Menus
function plt_hide_bookly_responsive_appointment_booking_tool_menus() {
//Hide the "Bookly" menu.
remove_menu_page('bookly-menu');
//Hide the "Bookly → Initial setup" menu.
remove_submenu_page('bookly-menu', 'bookly-setup');
}
add_action('admin_menu', 'plt_hide_bookly_responsive_appointment_booking_tool_menus', 11);
Where do I put this code?
How to Hide the "Bookly - Appointments" Dashboard Widget
function plt_hide_bookly_responsive_appointment_booking_tool_dashboard_widgets() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Remove the "Bookly - Appointments" widget.
remove_meta_box('bookly-backend-components-dashboard-appointments-widget', 'dashboard', 'normal');
}
add_action('wp_dashboard_setup', 'plt_hide_bookly_responsive_appointment_booking_tool_dashboard_widgets', 20);