Testing of this plugin has been temporarily suspended due to an error. It will automatically resume when a new plugin version is released.
function plt_hide_ws_form_menus() {
//Hide "WS Form".
remove_menu_page('ws-form');
//Hide "WS Form → Forms".
remove_submenu_page('ws-form', 'ws-form');
//Hide "WS Form → Add Form".
remove_submenu_page('ws-form', 'ws-form-add');
//Hide "WS Form → Submissions".
remove_submenu_page('ws-form', 'ws-form-submit');
//Hide "WS Form → Styles".
remove_submenu_page('ws-form', 'ws-form-style');
//Hide "WS Form → Add Style".
remove_submenu_page('ws-form', 'ws-form-style-add');
//Hide "WS Form → Settings".
remove_submenu_page('ws-form', 'ws-form-settings');
//Hide "WS Form → Upgrade to PRO".
remove_submenu_page('ws-form', 'ws-form-upgrade');
//Hide "WS Form → Add-Ons".
remove_submenu_page('ws-form', 'ws-form-add-ons');
}
add_action('admin_menu', 'plt_hide_ws_form_menus', 11);