Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

The code example below will allow you to add the logged-in member’s level ID (if available) to your site’s body class. This can prove useful if you want to change the style of or even hide elements based on level.

This content requires a premium membership plan.