-
Home
-
Feeds for YouTube (YouTube video, channel, and gallery plugin)
- Tips
function plt_hide_feeds_for_youtube_menus() {
//Hide "YouTube Feed".
remove_menu_page('sby-feed-builder');
//Hide "YouTube Feed → All Feeds".
remove_submenu_page('sby-feed-builder', 'sby-feed-builder');
//Hide "YouTube Feed → Settings".
remove_submenu_page('sby-feed-builder', 'youtube-feed-settings');
//Hide "YouTube Feed → Single Videos".
remove_submenu_page('sby-feed-builder', 'admin.php?page=sby-feed-builder&tab=more');
//Hide "YouTube Feed → Support".
remove_submenu_page('sby-feed-builder', 'youtube-feed-support');
//Hide "YouTube Feed → About Us".
remove_submenu_page('sby-feed-builder', 'youtube-feed-about');
//Hide "YouTube Feed → Try the Pro Demo".
remove_submenu_page('sby-feed-builder', 'https://smashballoon.com/youtube-feed/demo/?utm_campaign=youtube-free&utm_source=menu-link&utm_medium=upgrade-link');
//Hide "YouTube Feed → Facebook Feed".
remove_submenu_page('sby-feed-builder', 'admin.php?page=sby-feed-builder&tab=more');
//Hide "YouTube Feed → Instagram Feed".
remove_submenu_page('sby-feed-builder', 'admin.php?page=sby-feed-builder&tab=more');
//Hide "YouTube Feed → Twitter Feed".
remove_submenu_page('sby-feed-builder', 'admin.php?page=sby-feed-builder&tab=more');
}
add_action('admin_menu', 'plt_hide_feeds_for_youtube_menus', 100);
Where do I put this code?