=== Divi Content Restrictor ===
Contributors: wpt00ls, freemius
Tags: divi restrict content, divi content access control
Requires at least: 4.5
Tested up to: 6.8.3
Stable tag: 2.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Conditionally restrict partial content on divi page. Divi visual builder compatible. Grant access to logged-in users, users belonging to any/all selected roles. Integration with third-party plugins like "WooCommerce Membership", "MemberPress", "Restrict Content Pro" & "Custom WordPress Filter".

== Description ==

## Restrict Content On Divi Page

https://www.youtube.com/watch?v=FH2uT690fSs

**Conditionally restrict** access to **partial content** on a **divi section** 

> 100% divi visual builder compatibility.

This plugin restricts content on divi section. Its 100% compatible with divi visual builder.

We've added **Restrict Content** & **Un-Authorized Text** settings toggle on divi section module. Its on the **Advanced tab**

In the **Restrict Content** toggle, setup all the conditions for restricting content like

* Show content to logged-in users
* Show content to users with specific roles (Premium Version)
* Show content based on third-party plugin's like
    - [Restrict Content Pro](http://bit.ly/2JNNyEA) (Premium Version)
    - [MemberPress](http://bit.ly/2X8dk9w) (Premium Version)
    - [WooCommerce Membership](http://bit.ly/3rWA0Ib) (Premium Version)

In the **Un-Authorized Text** settings toggle, set the un-authorized text message and text styles.

> Restrict content on all section types. For example regular, full-width and specialty divi sections

## Premium

Premium plugin is available at [https://wptools.app/wordpress-plugin/divi-content-restrictor/](https://wptools.app/wordpress-plugin/divi-content-restrictor/?utm_source=wp&utm_medium=plugin-page&utm_campaign=restrict-content&utm_content=description)

Features are:

* Content restriction using **User Roles**
* Content restriction using **WooCommerce Memberships** plugin
* Content restriction using **Restrict Content Pro** plugin
* Content restriction using **MemberPress** plugin
* Content restriction using **Custom WordPress Filter**

== Installation ==

1. Upload `content-restrictor-for-divi`  to the `/wp-content/plugins/` directory
2. Activate the "Divi Content Restrictor" plugin through the 'Plugins' menu in WordPress



== Frequently Asked Questions ==

= Any there any dependencies for this plugin? =

This plugin has the following dependencies.

* [Divi Theme](http://bit.ly/2xcicxw) by Elegant Themes
* [Restrict Content Pro](http://bit.ly/2JNNyEA) (Optional)
* [MemberPress](http://bit.ly/2X8dk9w) (Optional)
* [WooCommerce Membership](http://bit.ly/3rWA0Ib) (Optional)


== Screenshots ==

1. Shows how the content restriction work within divi visual builder
2. Third-party integrations for content restriction


== Changelog ==

= 2.0.0 =
* Divi 5 integration with conversion

= 1.5.2 =
* Updated: Freemius SDK

= 1.5.1 =
* Updated: Freemius SDK

= 1.5.0 =
* php8.1 compatibility
* WordPress compatible

= 1.4.3 =
* Freemius upgrade

= 1.4.2 =
* Updated freemius
* WordPress 6.2 compatible

= 1.4.1 =
* Updated freemius version. 

= 1.4.0 =
* Fix unauthorized text html stripping with 'Restrict Content Pro'

= 1.3.0 =
* Fixed issue with "Restrict Content Pro" settings - the membership and access level were outputting incorrect options.

= 1.2.0 =
* Fixed an issue with "WooCommerce Membership" content restriction where unauthorized text was not being shown for member not belonging to a plan.
* Compatible with WordPress 5.7.1

= 1.1.0 =
* Freemius SDK updated to 2.4.2

= 1.0.1 =
* Deployment on wordpress.org

= 1.0.0 =

* Added content restrict for
    - Logged-In User
    - User Roles
    - MemberPress Plugin
    - WooCommerce Membership Plugin
    - Restrict Content Pro Plugin