How to Hide WPB Accordion Menu or Category Admin Menus

function plt_hide_wpb_accordion_menu_or_category_menus() {
	//Hide "WPB Accordions".
	remove_menu_page('wpb_wmca_shortcodes-items');
	//Hide "WPB Accordions → WPB Accordions".
	remove_submenu_page('wpb_wmca_shortcodes-items', 'wpb_wmca_shortcodes-items');
	//Hide "WPB Accordions → Upgrade to Pro".
	remove_submenu_page('wpb_wmca_shortcodes-items', 'wpb_wmca_upgrade-to-pro');
	//Hide "WPB Accordions → Get Help".
	remove_submenu_page('wpb_wmca_shortcodes-items', 'wpb_wmca_get_help');
}

add_action('admin_menu', 'plt_hide_wpb_accordion_menu_or_category_menus', 11);

Where do I put this code?