How to Hide the "Money Maker" Admin Menu

function plt_hide_money_maker_menus() {
	//Hide the "Settings → Money Maker" menu.
	remove_submenu_page('options-general.php', 'PalTip_options');
}

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

Where do I put this code?