<?php

namespace Formatrica\Frontend;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * The Free default form-render extension: every hook is inert. A Free package
 * renders a complete linear form with no paid form-level decoration.
 */
final class Null_Form_Render_Extension implements Form_Render_Extension_Interface
{
    public function decorate_field(string $markup, array $field, array $field_name_by_key): string
    {
        return $markup;
    }

    public function wrapper_class(array $options): string
    {
        return '';
    }

    public function render_steps(array $steps, array $step_meta): ?string
    {
        return null;
    }

    public function draft_button(array $options, array $fields): string
    {
        return '';
    }
}
