$attributes Block attributes. * @since 1.6.0 */ public function __construct( $attributes ) { $this->slug = 'donor-comment'; $this->max_length = isset( $attributes['maxLength'] ) ? absint( Helper::get_string_value( $attributes['maxLength'] ) ) : 500; $this->set_properties( $attributes ); $this->set_unique_slug(); $this->set_markup_properties(); } /** * Render donor comment markup. * * @since 1.6.0 * @return string */ public function markup() { $classes = $this->get_field_classes(); $aria_desc = $this->get_aria_describedby(); ob_start(); ?>