| @@ -36,9 +36,9 @@ | ||
| 36 | 36 | /** |
| 37 | 37 | * @return void |
| 38 | 38 | */ |
| 39 | 39 | public function developer_support() { |
| 40 | - add_filter( 'rtsb/builder/args/publicly_queryable', '__return_true', 5 ); | |
| 40 | + add_filter( 'rtsb/builder/preview/access', '__return_false', 5 ); | |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * Theme Support |
| @@ -51,8 +51,9 @@ | ||
| 51 | 51 | $supports = [ |
| 52 | 52 | 'woo-address-book/woocommerce-address-book.php' => PluginsSupport\WooAddressBook::class, |
| 53 | 53 | 'woo-product-variation-gallery/woo-product-variation-gallery.php' => PluginsSupport\RtwpvgSupport::class, |
| 54 | 54 | 'woo-product-variation-swatches-pro/woo-product-variation-swatches-pro.php' => PluginsSupport\RtwpvsSupport::class, |
| 55 | + 'products-visibility-by-user-roles/addify_product_visibility.php' => PluginsSupport\AddifyVisibilityByRoles::class, | |
| 55 | 56 | ]; |
| 56 | 57 | $supports = apply_filters( 'rtsb/plugins/support', $supports ); |
| 57 | 58 | foreach ( $supports as $active_path => $class ) { |
| 58 | 59 | $is_active = in_array( $active_path, $active_plugin, true ); |