POM material

Can anyone tell me where do I have to paste the MaterialFunction code? I’ve tried to paste it in a new MatFunction, but nothing happens