PluginProbe
WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress / 9.0.0
WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress v9.0.0
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 / Admin / PostType.php

PostType.php in WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress 9.0.0, at src/Admin/PostType.php

20 lines 517 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\Admin;
4
5 /**
6 * Standalone wrapper for the legacy WPVR_Post_Type class.
7 *
8 * Registers the wpvr_item custom post type using the legacy class.
9 * Can be used independently; Bootstrap delegates this to Wpvr_Admin in Phase 1.
10 */
11 class PostType {
12
13 private $legacy;
14
15 public function __construct() {
16 require_once WPVR_PLUGIN_LEGACY_DIR_PATH . 'admin/classes/class-wpvr-post-type.php';
17 $this->legacy = new \WPVR_Post_Type( 'wpvr', WPVR_VERSION, 'wpvr_item' );
18 }
19 }
20