PluginProbe
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) / 1.4.2
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) v1.4.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 / heading / heading.php

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

23 lines 543 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) {
2 die; } // Cannot access directly.
3 /**
4 *
5 * Field: heading
6 *
7 * @since 1.0.0
8 * @version 1.0.0
9 */
10 if ( ! class_exists( 'DarkifyField_heading' ) ) {
11 class DarkifyField_heading extends DarkifyFields {
12
13 public function __construct( $field, $value = '', $unique = '', $where = '', $parent = '' ) {
14 parent::__construct( $field, $value, $unique, $where, $parent );
15 }
16
17 public function render() {
18
19 echo ( ! empty( $this->field['content'] ) ) ? wp_kses_post($this->field['content']) : '';
20 }
21 }
22 }
23