How to Hide the "Protected Posts" Admin Menu

function plt_hide_members_only_post_type_menus() {
	//Hide the "Protected Posts" menu.
	remove_menu_page('ppt-protected-post-type');
}

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

Where do I put this code?