PluginProbe
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) / 1.3.2
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) v1.3.2
2.1.3 2.1.2 2.1.1 2.1.0 2.0.4 2.0.3 2.0.2 2.0.1 2.0.0 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 trunk 1.0.1 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 All 57 releases
darkify / src / Admin / Framework / fields / ta_help / ta_help.php

ta_help.php in Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) 1.3.2, at src/Admin/Framework/fields/ta_help/ta_help.php

50 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if (! defined('ABSPATH')) {
4 die;
5
6 } // Cannot access directly.
7 if (! class_exists('DarkifyField_ta_help')) {
8 /**
9 *
10 * Field: help
11 *
12 * @since 1.0.0
13 * @version 1.0.0
14 */
15 class DarkifyField_ta_help extends DarkifyFields
16 {
17
18 /**
19 * Help field constructor.
20 *
21 * @param array $field The field type.
22 * @param string $value The values of the field.
23 * @param string $unique The unique ID for the field.
24 * @param string $where To where show the output CSS.
25 * @param string $parent The parent args.
26 */
27 public function __construct($field, $value = '', $unique = '', $where = '', $parent = '')
28 {
29
30 parent::__construct($field, $value, $unique, $where, $parent);
31 }
32
33 /**
34 * Render
35 *
36 * @return void
37 */
38 public function render()
39 {
40 echo wp_kses_post($this->field_before());
41
42 require_once DARKIFY_PATH . 'src/Admin/HelpPage/Help.php';
43 $help = new \ThemeAtelier\Darkify\Admin\HelpPage\Help();
44 $help->help_page_callback();
45
46 echo wp_kses_post($this->field_after());
47 }
48 }
49 }
50