Published on Jul 3, 2021

[Condition] Current User Active Member of WooCommerce Membership

Sridhar Katakam

This members-only tutorial provides the steps to register a custom condition in Oxygen to output any element only if the currently logged-in user is an active member of the selected membership plan when using WooCommerce Memberships.

We shall add == and != operators.

Add the following code using a plugin like Code Snippets or in a custom functionality plugin:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $599 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-omagnifiercrossmenuchevron-down