PluginProbe
Slider Ultimate / 2.2.10
Slider Ultimate v2.2.10
2.2.10 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 All 54 releases
ultimate-slider / lib / simple-admin-pages / classes / AdminPageSetting.HTML.class.php
AdminPageSetting.HTML.class.php
41 lines 891 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Register and save an arbitrary HTML chunk in the admin menu
5 *
6 * This allows you to easily add in a dummy "setting" with any arbitrary HTML
7 * code. It's good for displaying a link to documentation, upgrades or anything
8 * else you can think of.
9 *
10 * Data in this field will not be saved or passed. It's purely for presenting
11 * information.
12 *
13 * @since 1.0
14 * @package Simple Admin Pages
15 */
16
17 class sapAdminPageSettingHTML_2_6_19 extends sapAdminPageSetting_2_6_19 {
18
19 public $html; // The HTML that should be displayed by this option
20 public $sanitize_callback = 'sanitize_text_field';
21
22 /**
23 * Display this setting
24 * @since 1.0
25 */
26 public function display_setting() {
27
28 ?>
29
30 <fieldset <?php $this->print_conditional_data(); ?>>
31 <?php echo wp_kses_post( $this->html ); ?>
32 </fieldset>
33
34 <?php
35
36 $this->display_description();
37
38 }
39
40 }
41