function plt_hide_opening_hours_menus() {
//Hide the "We’re Open!" menu.
remove_menu_page('opening_hours');
//Hide the "Settings → We’re Open!" menu.
remove_submenu_page('options-general.php', 'opening_hours_settings');
}
add_action('admin_menu', 'plt_hide_opening_hours_menus', 11);