Multi-step form "Previous" button
This filter allows you to provide custom markup for the multi-step form “Previous” button.
\add_filter('es_forms_block_step_component_prev', [$this, 'getBlockStepComponentPrev']);
/** * Changing the default custom prev button for the multi-step form. * * @param array<string, mixed> $data Block attributes. * * @return string */public function getBlockStepComponentPrev(array $data): string{ return '<button type="submit" class="custom-button">Prev</button>';}