-
Home
-
SmartCloud Flow – Block‑based Forms & Workflow Automation
- Tips
function plt_hide_smartcloud_flow_menus() {
//Hide "SmartCloud".
remove_menu_page('hub-for-wpsuiteio');
//Hide "SmartCloud → Connect your Site".
remove_submenu_page('hub-for-wpsuiteio', 'hub-for-wpsuiteio');
//Hide "SmartCloud → Global Settings".
remove_submenu_page('hub-for-wpsuiteio', 'hub-for-wpsuiteio-settings');
//Hide "SmartCloud → Flow Settings".
remove_submenu_page('hub-for-wpsuiteio', 'smartcloud-flow');
//Hide "SmartCloud → Flow Patterns".
remove_submenu_page('hub-for-wpsuiteio', 'http://127.0.0.1/wp-admin/edit.php?post_type=wp_block&s=smartcloud-flow');
}
add_action('admin_menu', 'plt_hide_smartcloud_flow_menus', 31);
Where do I put this code?