-
Home
-
Doliconnect
- Tips
function plt_hide_doliconnect_menus() {
//Hide "Doliconnect".
remove_menu_page('ptibogxiv_management_page');
//Hide "Doliconnect → Settings".
remove_submenu_page('ptibogxiv_management_page', 'ptibogxiv_management_page');
//Hide "Doliconnect → Sync with Dolibarr".
remove_submenu_page('ptibogxiv_management_page', 'doliconnect_network_page');
//Hide "Doliconnect → Datas".
remove_submenu_page('ptibogxiv_management_page', 'doliconnect_transients_page');
}
add_action('admin_menu', 'plt_hide_doliconnect_menus', 11);
Where do I put this code?