frm_custom_html

This hook allows you to change the default HTML for all newly created fields. It will not change HTML for existing fields.

Usage

add_filter('frm_custom_html', 'customize_html', 10, 2);
function customize_html($default_html, $field_type)

Parameters

  • $default_html (string)
  • $field_type (string)

Examples

Basic Usage

add_filter('frm_custom_html', 'frm_customize_html', 20, 2);
function frm_customize_html($default_html, $field_type){
  //$default_html = 'change HTML here';
  return $default_html;
}