PluginProbe
WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress / 9.0.2
WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress v9.0.2
9.1.2 9.1.1 9.1.0 9.0.3 9.0.2 9.0.1 9.0.0 8.5.79 8.5.78 8.5.77 8.5.76 8.5.75 8.5.74 8.5.73 8.5.72 8.5.71 8.5.70 8.5.69 8.5.68 8.5.35 8.5.36 8.5.37 8.5.38 8.5.39 8.5.4 All 221 releases
wpvr / src / Frontend / Builders / Bricks.php

Bricks.php in WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress 9.0.2, at src/Frontend/Builders/Bricks.php

19 lines 453 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace RexTheme\WPVR\Frontend\Builders;
4
5 /**
6 * Wrapper for the legacy Bricks builder integration.
7 *
8 * Only loads when the Bricks theme is active, matching legacy behaviour.
9 */
10 class Bricks {
11
12 public function __construct() {
13 if ( wp_get_theme( 'bricks' )->exists() && 'bricks' === get_template() ) {
14 require_once WPVR_PLUGIN_LEGACY_DIR_PATH . 'bricks/bricks.php';
15 \Manager::instance();
16 }
17 }
18 }
19