Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add name Attributes to Fluent Forms HTML attributes
* Add Title Attributes to Fluent Forms
add_filter('fluent_form_html_attributes', function ($atts, $form) {
$atts['name'] = esc_attr($form->title);
return $atts;
}, 10, 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment