-
Home
-
FunnelKit Automations – Email Marketing Automation and CRM for WordPress & WooCommerce
- Tips
function plt_hide_wp_marketing_automations_menus() {
//Hide "Tools → Scheduled Actions".
remove_submenu_page('tools.php', 'action-scheduler');
//Hide "FunnelKit Automations".
remove_menu_page('autonami');
//Hide "FunnelKit Automations → Dashboard".
remove_submenu_page('autonami', 'autonami');
//Hide "FunnelKit Automations → Contacts".
remove_submenu_page('autonami', 'autonami&path=/contacts');
//Hide "FunnelKit Automations → Automations".
remove_submenu_page('autonami', 'autonami&path=/automations');
//Hide "FunnelKit Automations → Analytics".
remove_submenu_page('autonami', 'autonami&path=/analytics');
//Hide "FunnelKit Automations → Email Setup".
remove_submenu_page('autonami', 'autonami&path=/mail-setup');
//Hide "FunnelKit Automations → Settings".
remove_submenu_page('autonami', 'autonami&path=/settings');
//Hide "FunnelKit Automations → Upgrade to Pro".
remove_submenu_page('autonami', '');
}
add_action('admin_menu', 'plt_hide_wp_marketing_automations_menus', 91);
Where do I put this code?