How to Hide the "Attire Blocks" Admin Menu

function plt_hide_attire_blocks_menus() {
	//Hide the "Attire Blocks" menu.
	remove_menu_page('attireblocks');
}

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

Where do I put this code?