# wpvr/9.0.2/src/Frontend/Builders/Bricks.php

WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress, version 9.0.2. 19 lines.

- Page: https://pluginprobe.com/plugins/wpvr/9.0.2/code/src/Frontend/Builders/Bricks.php
- Raw: https://pluginprobe.com/plugins/wpvr/9.0.2/raw/src/Frontend/Builders/Bricks.php
- Modified: 2026-08-20T11:07:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpvr/9.0.2/code/src/Frontend/Builders/Bricks.php#L10-L20`.

```php
<?php

namespace RexTheme\WPVR\Frontend\Builders;

/**
 * Wrapper for the legacy Bricks builder integration.
 *
 * Only loads when the Bricks theme is active, matching legacy behaviour.
 */
class Bricks {

    public function __construct() {
        if ( wp_get_theme( 'bricks' )->exists() && 'bricks' === get_template() ) {
            require_once WPVR_PLUGIN_LEGACY_DIR_PATH . 'bricks/bricks.php';
            \Manager::instance();
        }
    }
}

```
