mirror of https://github.com/vtrois/kratos
28 lines
513 B
PHP
28 lines
513 B
PHP
<?php if (!defined('ABSPATH')) {
|
|
die;
|
|
}
|
|
/**
|
|
*
|
|
* Field: subheading
|
|
*
|
|
* @since 1.0.0
|
|
* @version 1.0.0
|
|
*
|
|
*/
|
|
if (!class_exists('CSF_Field_subheading')) {
|
|
class CSF_Field_subheading 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'] : '';
|
|
}
|
|
}
|
|
}
|