Hide / show web content for some users only
Is it possible to show / hide some site content only to a specific group of users?
Some parts of the forum are limited through Forum Accesses, only for certain users. I would like to show these users some text information or a button (using gutenberg) that only they would see. It's about being displayed on a regular page on a site, such as post or page, not in wpForo content.
In a nutshell.
- Unsigned user - cannot see the button.
- The logged in user - normal permissions - cannot see the button.
- The logged in user - restricted access via forum accesses - sees the button.
Is there a shortcode for this?