How to Hide CoolAuthorBox Admin Menus

function plt_hide_hm_cool_author_box_widget_menus() {
	//Hide "Cool Author Box".
	remove_menu_page('hm-cool-author-box');
	//Hide "Cool Author Box → Cool Author Box".
	remove_submenu_page('hm-cool-author-box', 'hm-cool-author-box');
	//Hide "Cool Author Box → Settings".
	remove_submenu_page('hm-cool-author-box', 'hmcab-settings');
	//Hide "Cool Author Box → Post Layout".
	remove_submenu_page('hm-cool-author-box', 'hmcab-post-layout');
	//Hide "Cool Author Box → How it works".
	remove_submenu_page('hm-cool-author-box', 'hmcab-help-usage');
	//Hide "Cool Author Box → Contact Us".
	remove_submenu_page('hm-cool-author-box', 'hm-cool-author-box-contact');
	//Hide "Cool Author Box → Support Forum".
	remove_submenu_page('hm-cool-author-box', 'hm-cool-author-box-wp-support-forum');
	//Hide "Cool Author Box → Upgrade".
	remove_submenu_page('hm-cool-author-box', 'hm-cool-author-box-pricing');
}

add_action('admin_menu', 'plt_hide_hm_cool_author_box_widget_menus', 1000000000);

Where do I put this code?