-
Home
-
Product Feed for WooCommerce – Google Shopping Feed, Pinterest Feed, TikTok Ads & More
- Tips
function plt_hide_webtoffee_product_feed_menus() {
//Hide "WebToffee Product Feed".
remove_menu_page('webtoffee_product_feed_main_export');
//Hide "WebToffee Product Feed → Create new feed".
remove_submenu_page('webtoffee_product_feed_main_export', 'webtoffee_product_feed_main_export');
//Hide "WebToffee Product Feed → Manage Feeds".
remove_submenu_page('webtoffee_product_feed_main_export', 'webtoffee_product_feed_main_history');
//Hide "WebToffee Product Feed → Scheduled Actions".
remove_submenu_page('webtoffee_product_feed_main_export', 'webtoffee_product_feed_main_cron');
//Hide "WebToffee Product Feed → General Settings".
remove_submenu_page('webtoffee_product_feed_main_export', 'webtoffee_product_feed');
//Hide "WebToffee Product Feed → FB/Insta Catalog".
remove_submenu_page('webtoffee_product_feed_main_export', 'webtoffee-product-feed');
//Hide "WebToffee Product Feed → Pro upgrade".
remove_submenu_page('webtoffee_product_feed_main_export', 'webtoffee_product_feed#wt-pro-upgrade');
}
add_action('admin_menu', 'plt_hide_webtoffee_product_feed_menus', 12);
Where do I put this code?