-
Home
-
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder
- Tips
How to Hide Fluent Forms Admin Menus
function plt_hide_fluentform_menus() {
remove_submenu_page('tools.php', 'action-scheduler');
remove_menu_page('fluent_forms');
remove_submenu_page('fluent_forms', 'fluent_forms');
remove_submenu_page('fluent_forms', 'fluent_forms#add=1');
remove_submenu_page('fluent_forms', 'fluent_forms_all_entries');
remove_submenu_page('fluent_forms', 'fluent_forms_settings');
remove_submenu_page('fluent_forms', 'fluent_forms_transfer');
remove_submenu_page('fluent_forms', 'fluent_forms_smtp');
remove_submenu_page('fluent_forms', 'fluent_forms_add_ons');
remove_submenu_page('fluent_forms', 'fluent_forms_docs');
}
add_action('admin_menu', 'plt_hide_fluentform_menus', 11);
Where do I put this code?
How to Hide the "Fluent Forms Latest Form Submissions" Dashboard Widget
function plt_hide_fluentform_dashboard_widgets() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
remove_meta_box('fluentform_stat_widget', 'dashboard', 'normal');
}
add_action('wp_dashboard_setup', 'plt_hide_fluentform_dashboard_widgets', 20);