1. Home
  2. Actions
  3. Action reference: wpforms_display_submit_before

do_action( 'wpforms_display_submit_before', $form_data );

Action that fires immediately before the submit button element is displayed.

Description

The wpforms_display_submit_before hook fires within the form’s submit button container div, just before the submit button element. As an example, you can use this hook to add HTML that’s output before the submit button.

Parameters

$form_data
(array) Form settings/data.

Source

wpforms/includes/class-frontend.php

Updated on November 13, 2018

Was this article helpful?