get( 'fields' ); if ( is_array( $fields ) ) { foreach ( $fields as $field ) { if ( $field['type'] === 'hulk_affef_rich_text' ) { $record->update_field( $field['id'], 'value', wp_kses_post( wpautop( $field['raw_value'] ) ) ); } } } return $record; } public function __construct( array $meta ) { parent::__construct( $meta ); if ( $meta['isEnabled'] === true ) { add_filter( 'elementor_pro/forms/record/actions_before', [ $this, 'forms_record_actions_before' ] ); } } }