gcgs_allow_user_entered_formulas
Description
Filter whether user-entered formulas are allowed. This will not have any effect unless
gcgs_allow_user_entered_values
is set to true
.
Usage
Filter whether user-entered formulas are allowed for all fields mapped to Google Sheets.
add_filter( 'gcgs_allow_user_entered_formulas', '__return_true' );
Filter whether user-entered formulas are allowed for all fields mapped to Google Sheets in a specific form.
add_filter( 'gcgs_allow_user_entered_formulas_FORMID', '__return_true' );
Filter whether user-entered formulas are allowed for a specific field mapped to Google Sheets.
add_filter( 'gcgs_allow_user_entered_formulas_FORMID_FIELDID', '__return_true' );
Parameters
allow_user_entered_formulas bool
Whether user-entered formulas are allowed. Default false.
value mixed
The value to be inserted.
form \GFForm
The form.
field \GF_Field|string
The field or entry property key.
Since
This filter is available since Gravity Connect Google Sheets 1.3.21.