gaddon_no_output_field_properties

Description

Some non-standard HTML properties are not output to the field HTML by default. This filter allows you to allow or deny specific properties to be added to the field HTML.

Usage

The following would apply to all forms.

add_filter( 'gaddon_no_output_field_properties', 'your_function_name' );

Parameters

  • $properties array

    Array of properties not allowed.

  • $field Form Object

    The current field meta to be parsed.

Placement

This code should be placed in the functions.php file of your active theme.

Source Code

This filter is located in class-gf-addon.php.