How to Hide WP VK-付费内容插件 Admin Menus

function plt_hide_wp_vk_menus() {
	//Hide "付费内容".
	remove_menu_page('wp_vk');
	//Hide "付费内容 → 资源管理".
	remove_submenu_page('wp_vk', 'wp_vk#/items');
	//Hide "付费内容 → 订单管理".
	remove_submenu_page('wp_vk', 'wp_vk#/order');
	//Hide "付费内容 → 插件设置".
	remove_submenu_page('wp_vk', 'wp_vk#/setting');
	//Hide "付费内容 → 支付设置".
	remove_submenu_page('wp_vk', 'wp_vk#/pay-setting');
}

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

Where do I put this code?