-
Home
-
Wallkit Subscriptions & Paywall Plugin for WordPress
- Tips
function plt_hide_wallkit_menus() {
//Hide "Wallkit".
remove_menu_page('wallkit/admin/class-wallkit-wp-admin.php');
//Hide "Wallkit → Wallkit".
remove_submenu_page('wallkit/admin/class-wallkit-wp-admin.php', 'wallkit/admin/class-wallkit-wp-admin.php');
//Hide "Wallkit → Settings".
remove_submenu_page('wallkit/admin/class-wallkit-wp-admin.php', 'wallkit-settings');
//Hide "Wallkit → Appearance".
remove_submenu_page('wallkit/admin/class-wallkit-wp-admin.php', 'wallkit-Appearance');
//Hide "Wallkit → Advanced".
remove_submenu_page('wallkit/admin/class-wallkit-wp-admin.php', 'wallkit-advanced');
}
add_action('admin_menu', 'plt_hide_wallkit_menus', 11);
Where do I put this code?