Home Forums General Issues WooCommerce Memberships Restrict Content and ACF Fields


WooCommerce Memberships Restrict Content and ACF Fields

    • rjrp

    • October 26, 2019 at 2:42 am

    I have a template page with some ACF fields. That page is restricted using Woocommerce Memberships.

    Seems that the main content is restricted but after the Restricted Content message all the ACF fields are there. How can I hide those fields when all the other content is restricted?

    I saw some solution but it is for paidmemberships plugin –

    There is something like this for WooCommerce Memberships?


  • You need to add something around the content for ACF. For example, if you password protect you would use

    if (!is_password_required()) {
      // show acf content

    You will need to see if there is something similar in the memberships plugin

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.