add_filter( 'gform_submit_button', 'form_submit_button', 10, 2 ); function form_submit_button( $button, $form ) { return "<button class='button gform_button gform_submit_button' id='gform_submit_button_{$form['id']}'><span>SUBMIT</span></button>"; }