-
Home
-
Forminator Forms – Contact Form, Payment Form & Custom Form Builder
- Tips
function plt_hide_forminator_menus() {
//Hide "Tools → Scheduled Actions".
remove_submenu_page('tools.php', 'action-scheduler');
//Hide "Forminator".
remove_menu_page('forminator');
//Hide "Forminator → Dashboard".
remove_submenu_page('forminator', 'forminator');
//Hide "Forminator → Forms".
remove_submenu_page('forminator', 'forminator-cform');
//Hide "Forminator → Polls".
remove_submenu_page('forminator', 'forminator-poll');
//Hide "Forminator → Quizzes".
remove_submenu_page('forminator', 'forminator-quiz');
//Hide "Forminator → Templates New".
remove_submenu_page('forminator', 'forminator-templates');
//Hide "Forminator → Submissions".
remove_submenu_page('forminator', 'forminator-entries');
//Hide "Forminator → Add-ons".
remove_submenu_page('forminator', 'forminator-addons');
//Hide "Forminator → Integrations".
remove_submenu_page('forminator', 'forminator-integrations');
//Hide "Forminator → Reports".
remove_submenu_page('forminator', 'forminator-reports');
//Hide "Forminator → Settings".
remove_submenu_page('forminator', 'forminator-settings');
//Hide "Forminator → Upgrade for 80% Off!".
remove_submenu_page('forminator', 'https://wpmudev.com/project/forminator-pro/?utm_source=forminator&utm_medium=plugin&utm_campaign=forminator_submenu_upsell');
}
add_action('admin_menu', 'plt_hide_forminator_menus', 11);
Where do I put this code?