PluginProbe
WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress / 8.5.4
WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress v8.5.4
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 / admin / classes / class-wpvr-control-button.php

class-wpvr-control-button.php in WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress 8.5.4, at admin/classes/class-wpvr-control-button.php

59 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) exit; // Exit if accessed directly
3 /**
4 * Responsible for managing control button tab content
5 *
6 * @link http://rextheme.com/
7 * @since 8.0.0
8 *
9 * @package Wpvr
10 * @subpackage Wpvr/admin/classes
11 */
12
13 class WPVR_Control_Button extends Singleton {
14
15 /**
16 * Render Advanced Control Tab Content
17 *
18 * @return void
19 * @since 8.0.0
20 */
21 public static function render($postdata)
22 {
23 ob_start();
24 ?>
25 <div class="control-settings-content inner-single-content" id="gen-control">
26 <?php self::render_meta_fields($postdata);?>
27 </div>
28 <?php
29 ob_end_flush();
30 }
31
32
33 /**
34 * Render Control Button Meta Fields
35 *
36 * @return void
37 * @since 8.0.0
38 */
39 public static function render_meta_fields($postdata) {
40 ob_start();
41 ?>
42
43 <div class="content-wrapper">
44 <div class="left">
45 <?php WPVR_Meta_Field::render_control_button_left_fields($postdata) ?>
46 </div>
47 <!-- end left -->
48
49 <div class="right">
50 <?php WPVR_Meta_Field::render_control_button_right_fields($postdata) ?>
51 </div>
52 <!-- end right -->
53 </div>
54
55 <?php
56 ob_end_flush();
57 }
58 }
59