-
Home
-
Floating Notification Bar, Sticky Menu on Scroll, Announcement Banner, and Sticky Header for Any Theme – My Sticky Bar (formerly myStickymenu)
- Tips
function plt_hide_mystickymenu_menus() {
//Hide "My Sticky Bar".
remove_menu_page('my-stickymenu-welcomebar');
//Hide "My Sticky Bar → Dashboard".
remove_submenu_page('my-stickymenu-welcomebar', 'my-stickymenu-welcomebar');
//Hide "My Sticky Bar → + Create New Bar".
remove_submenu_page('my-stickymenu-welcomebar', 'my-stickymenu-new-welcomebar');
//Hide "My Sticky Bar → Poptin Popups".
remove_submenu_page('my-stickymenu-welcomebar', 'install-poptin-plugin');
//Hide "My Sticky Bar → Widget Analytics".
remove_submenu_page('my-stickymenu-welcomebar', 'my-sticky-menu-analytics');
//Hide "My Sticky Bar → Contact Form Leads".
remove_submenu_page('my-stickymenu-welcomebar', 'my-sticky-menu-leads');
//Hide "My Sticky Bar → Sticky Menu Settings".
remove_submenu_page('my-stickymenu-welcomebar', 'my-stickymenu-settings');
//Hide "My Sticky Bar → Recommended Plugins".
remove_submenu_page('my-stickymenu-welcomebar', 'msm-recommended-plugins');
//Hide "My Sticky Bar → Upgrade to Pro".
remove_submenu_page('my-stickymenu-welcomebar', 'my-stickymenu-upgrade');
}
add_action('admin_menu', 'plt_hide_mystickymenu_menus', 11);
Where do I put this code?