<?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access directly.
/**
 *
 * Field: content
 *
 * @since 1.0.0
 * @version 1.0.0
 *
 */
if ( ! class_exists( 'FPBLOCK_Field_content' ) ) {
  class FPBLOCK_Field_content extends FPBLOCK_Fields {

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

    public function render() {

      if ( ! empty( $this->field['content'] ) ) {

        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Content is hardcoded by developer, not user input
        echo $this->field['content'];

      }

    }

  }
}
