# wpvr/8.5.73/builders/wpbakery/wpvr-loader.php

WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress, version 8.5.73. 30 lines.

- Page: https://pluginprobe.com/plugins/wpvr/8.5.73/code/builders/wpbakery/wpvr-loader.php
- Raw: https://pluginprobe.com/plugins/wpvr/8.5.73/raw/builders/wpbakery/wpvr-loader.php
- Modified: 2025-11-28T09:20:54+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/8.5.73/code/builders/wpbakery/wpvr-loader.php#L10-L20`.

```php
<?php
/**
 * WPVR WPBakery Loader
 * Loads the WPVR WPBakery integration when WPBakery (Visual Composer) is present.
 *
 * Place this file at: /builders/wpbakery/wpvr-loader.php
 * @since 8.5.48
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

/**
 * Load WPVR WPBakery Element
 * @since 8.5.48
 */
add_action( 'vc_before_init', 'wpvr_wpbakery_register' );

/**
 * Require WPVR WPBakery Element file
 * @since 8.5.48
 */
function wpvr_wpbakery_register() {
    $file = dirname( __FILE__ ) . '/wpvr-element.php';
    if ( file_exists( $file ) ) {
        require_once $file;
    }
}

```
