Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Formidable - add classes to each form's submit button.
<?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
You can’t perform that action at this time.