How to restrict content ?

The goal of this plugin is to offer to your WGS members, a private content. That´s why you have to restrict content for common visitors.

To do this, you need to use the shortcode : wgs-restricted

In your posts/pages, wrap the private content like this

[[wgs-restricted] This content is visible only for your WGS members. [/wgs-restricted]]

For visitors who are not logged in, they will see this message :

More options


Attribute nameDescriptionChoice
messageFor some reasons, sometimes, you need to hide the restricted content. set “message” to “false”1. true (default)
2. false


Deprecated: Function get_magic_quotes_gpc() is deprecated in /opt/wp-group-subscriptions/wp-includes/formatting.php on line 4383