Contents
Change the default HTML for all newly created fields. This will not change HTML for existing fields.
Parameters: $default_html (string), $field_type (string)
Examples
add_filter('frm_custom_html', 'frm_custom_html', 10, 2);
function frm_custom_html($default_html, $field_type){
//$default_html = 'change HTML here';
return $default_html;
}
Filter other shortcodes
add_filter('frm_custom_html', 'frm_custom_html', 10, 2);
function frm_custom_html($default_html, $field_type){
$default_html = do_shortcode($default_html);
return $default_html;
}