Created
February 3, 2015 16:55
-
-
Save nickkuijpers/70ab95eff21bde499f85 to your computer and use it in GitHub Desktop.
Wordpress Gravityforms Change class of submitbutton
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// filter the Gravity Forms button type | |
add_filter("gform_submit_button", "form_submit_button", 10, 2); | |
function form_submit_button($button, $form){ | |
return "<button class='btn btn-primary' id='gform_submit_button_{$form["id"]}'><span>VERZENDEN</span></button>"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment