PluginProbe
MaxButtons – Create buttons / 7.0
MaxButtons – Create buttons v7.0
6.23 6.24 6.25 6.26 6.26.1 6.27 6.28 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7.0 7.1 7.1.1 7.1.2 7.1.3 7.10 7.11 7.13 7.13.1 7.13.2 7.13.3 All 100 releases
maxbuttons / collections / preview-block.php

preview-block.php in MaxButtons – Create buttons 7.0, at collections/preview-block.php

51 lines 859 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace MaxButtons;
3 defined('ABSPATH') or die('No direct access permitted');
4 $collectionBlock["preview"] = "previewCollectionBlock";
5
6 class previewCollectionBlock extends collectionBlock
7 {
8 protected $blockname = "preview";
9
10 function ajax_update()
11 {
12
13
14 }
15
16 function admin_fields()
17 {
18
19
20 ?><div class="mb_tab option-container">
21 <div class="title">
22 <span class="dashicons dashicons-no"></span>
23 <span class="title"><?php _e("Preview","maxbuttons"); ?></span>
24 </div>
25 </div>
26
27 <div class='mb-preview-window output'>
28 <div class="header"><?php _e("Preview", 'maxbuttons'); ?>
29 <span class="close tb-close-icon"></span>
30 </div>
31 <div class="mb-preview-wrapper shortcode-container">
32
33 <?php
34 $args = array(
35 "preview" => true
36
37 );
38 $this->collection->display($args);
39 ?>
40 </div>
41 </div>
42
43 <?php
44
45
46 }
47
48 }
49
50 ?>
51