php fm snippet and delete views