Hide section of a template for non members with membership pro 2

How can I hide a section of a custom content type template with the membership pro 2?

I remember there were something like this in the previous version where you can put part of a text between a pair of shortcodes or php script to hide it from users who don’t belong in that subscription group.

Please let me know.