# cool-timeline/trunk/admin/codestar-framework/fields/heading/heading.php

Cool Timeline (Horizontal &amp; Vertical Timeline), version trunk. 26 lines.

- Page: https://pluginprobe.com/plugins/cool-timeline/trunk/code/admin/codestar-framework/fields/heading/heading.php
- Raw: https://pluginprobe.com/plugins/cool-timeline/trunk/raw/admin/codestar-framework/fields/heading/heading.php
- Modified: 2026-01-30T05:07:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/cool-timeline/trunk/code/admin/codestar-framework/fields/heading/heading.php#L10-L20`.

```php
<?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access directly.
// phpcs:ignoreFile WordPress.Security.EscapeOutput.OutputNotEscaped
/**
 *
 * 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'] : '';

    }

  }
}

```
