gppa_process_value_as_date
Description
Force a value to be parsed as a date to enable date comparison using operators such as >, <, <=, etc. By default, values from date fields will be treated as dates. Using this filter, non-date fields can have their values parsed as dates.
Usage
Force all field values (assuming no conditions are used) to be parsed as dates.
add_filter( 'gppa_process_value_as_date', '__return_true', 10, 2 );
Force all field values in a given form to be parsed as dates.
add_filter( 'gppa_process_value_as_date_FORMID', '__return_true', 10, 2 );
Force a specific field’s value to be parsed as a date.
add_filter( 'gppa_process_value_as_date_FORMID_FIELDID', '__return_true', 10, 2 );
Parameters
value bool
Whether or not to parse the value as a date.
field \GF_Field
The field that is having its value parsed.
Since
This filter is available since Gravity Forms Populate Anything 1.0-beta-4.89.