include.elementor-protection.php
3 years ago
include.menu-protection.php
3 years ago
include.shortcode-doc-sidebar.php
3 years ago
include.view-sidebar.php
5 years ago
include.view.php
2 years ago
index.php
5 years ago
view.access-condition.php
1 year ago
view.contentbox.php
1 year ago
view.exemptions.php
1 year ago
view.exemptions.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | use ProfilePress\Core\ContentProtection\ContentConditions; |
| 4 | |
| 5 | $dbData = $restrictDataToExcludes |
| 6 | |
| 7 | ?> |
| 8 | <div class="pp-content-protection-excludes"> |
| 9 | <section id="ppContentProtectionContent"> |
| 10 | <div class="workflowConditions"> |
| 11 | <?php if (is_array($dbData) && ! empty($dbData)): $index = 0; |
| 12 | $count = count($dbData); ?> |
| 13 | <?php foreach ($dbData as $facetListId => $facets) : ++$index; ?> |
| 14 | <?php ContentConditions::get_instance()->exempt_rules_group_row($facetListId, '', $facets); ?> |
| 15 | <?php endforeach; ?> |
| 16 | <?php endif; ?> |
| 17 | |
| 18 | <?php if ( ! is_array($dbData) || empty($dbData)): ?> |
| 19 | <?php ContentConditions::get_instance()->exempt_rules_group_row( |
| 20 | wp_generate_password(18, false), |
| 21 | wp_generate_password(18, false) |
| 22 | ); ?> |
| 23 | <?php endif; ?> |
| 24 | </div> |
| 25 | </section> |
| 26 | </div> |
| 27 |