How to Hide the "FB auto post" Admin Menu

function plt_hide_auto_post_contents_for_facebook_menus() {
	//Hide the "FB auto post" menu.
	remove_menu_page('auto-post-settings');
}

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

Where do I put this code?