-
Home
-
Formidable Forms – Contact Form, Survey, Quiz, Calculator & Custom Form Builder
- Tips
function plt_hide_formidable_menus() {
//Hide "Appearance → Forms".
remove_submenu_page('themes.php', 'formidable-styles2');
//Hide "Formidable".
remove_menu_page('formidable');
//Hide "Formidable → Forms (Lite)".
remove_submenu_page('formidable', 'formidable');
//Hide "Formidable → Entries".
remove_submenu_page('formidable', 'formidable-entries');
//Hide "Formidable → Views".
remove_submenu_page('formidable', 'formidable-views');
//Hide "Formidable → Styles".
remove_submenu_page('formidable', 'formidable-styles');
//Hide "Formidable → Applications".
remove_submenu_page('formidable', 'formidable-applications');
//Hide "Formidable → Payments".
remove_submenu_page('formidable', 'formidable-payments');
//Hide "Formidable → Import/Export".
remove_submenu_page('formidable', 'formidable-import');
//Hide "Formidable → Global Settings".
remove_submenu_page('formidable', 'formidable-settings');
//Hide "Formidable → Inbox".
remove_submenu_page('formidable', 'formidable-inbox');
//Hide "Formidable → Add-Ons".
remove_submenu_page('formidable', 'formidable-addons');
//Hide "Formidable → Upgrade".
remove_submenu_page('formidable', 'formidable-pro-upgrade');
//Hide "Formidable → SMTP".
remove_submenu_page('formidable', 'formidable-smtp');
}
add_action('admin_menu', 'plt_hide_formidable_menus', 1000);
Where do I put this code?