Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/db-objects/forms/form-frontend-output-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ protected function render_form_content( $form, $submission = null ) {
$template_data['hidden_fields'] .= '<input type="hidden" name="torro_submission[original_form_id]" value="' . esc_attr( get_the_ID() ) . '">';
}

$template_data['hidden_fields'] = apply_filters("{$prefix}hidden_fields", $template_data['hidden_fields'], $form, $submission);

/**
* Filters the CSS class to use for every button for a form in the frontend.
*
Expand Down