WPForms submit button – match Gutenberg button block

For more information, see this article: WPForms submit button match Gutenberg button style

/** * WPForms submit button, match Gutenberg button block * @link https://www.billerickson.net/code/wpforms-submit-button-match-gutenberg-block/ */ function be_wpforms_match_button_block( $form_data ) { $form_data['settings']['submit_class'] .= ' wp-block-button__link'; return $form_data; } add_filter( 'wpforms_frontend_form_data', 'be_wpforms_match_button_block' );

Bill Erickson

Bill Erickson is a freelance WordPress developer and a contributing developer to the Genesis framework. For the past 14 years he has worked with attorneys, publishers, corporations, and non-profits, building custom websites tailored to their needs and goals.

Ready to upgrade your website?

I build custom WordPress websites that look great and are easy to manage.

Let's Talk