gpcld_use_visitor_timezone
Description
By default, Conditional Logic Dates will use the server’s timezone for conditional logic.
Return true
in a filter for this hook to use the visitor browser’s timezone instead.
Usage
Filter whether visitor timezones should be used for all forms.
add_filter( 'gpcld_use_visitor_timezone', '__return_true' );
Filter whether visitor timezones should be used for a specific form.
add_filter( 'gpcld_use_visitor_timezone_FORMID', '__return_true' );
Parameters
enable bool
Use visitor’s timezone instead of the server’s timezone for conditional logic. Defaults to
false
.form_id int
The current form ID.
Since
This filter is available since Gravity Forms Conditional Logic Dates 1.2.11.