gpacl_date_require_date_selection
Description
Whether an empty date field should be treated as “no match” (require date selection).
Usage
Filter applied globally to all forms.
add_filter( 'gpacl_date_require_date_selection', 'my_custom_function' );Filter applied to a specific form.
add_filter( 'gpacl_date_require_date_selection_FORMID', 'my_custom_function' );Parameters
$require_selection
bool
Whether date selection is required. Default true.
$form_id
int
The current form ID.
$rule
array
The current conditional logic rule.
Since
1.0-alpha-1Hook added.