PluginProbe
MaxButtons – Create buttons / 6.3
MaxButtons – Create buttons v6.3
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 6.3, at collections/preview-block.php

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