How to Hide the "API Log Pro" Admin Menu

function plt_hide_api_log_pro_menus() {
	//Hide the "API Log Pro" menu.
	remove_menu_page('apilogpro');
}

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

Where do I put this code?