• File: heading.php
  • Full Path: /home/slvgwrnz/public_html/wp-admin/wp-includes/wp-content/plugins/prinox-tools/lib/codestar-framework/fields/heading/heading.php
  • Date Modified: 02/05/2025 11:48 AM
  • File size: 540 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access directly.
/**
 *
 * Field: heading
 *
 * @since 1.0.0
 * @version 1.0.0
 *
 */
if ( ! class_exists( 'CSF_Field_heading' ) ) {
  class CSF_Field_heading extends CSF_Fields {

    public function __construct( $field, $value = '', $unique = '', $where = '', $parent = '' ) {
      parent::__construct( $field, $value, $unique, $where, $parent );
    }

    public function render() {

      echo ( ! empty( $this->field['content'] ) ) ? $this->field['content'] : '';

    }

  }
}