Created
August 3, 2017 10:35
-
-
Save mustardBees/add8c7dd9fc0339872906995375e7b26 to your computer and use it in GitHub Desktop.
Formidable - add classes to each form's submit button.
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
<?php | |
/** | |
* Add classes to each form's submit button. | |
* | |
* @param array $classes | |
* | |
* @return array | |
*/ | |
function iweb_add_submit_button_classes( $classes ) { | |
$classes[] = 'button medium color'; | |
return $classes; | |
} | |
add_filter( 'frm_submit_button_class', 'iweb_add_submit_button_classes' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment