gppa_where_clause
Description
Modify the where clause generated by Populate Anything’s field settings.
Usage
add_filter( 'gppa_where_clause', 'my_custom_function' );
Parameters
where_clause string
The custom where clause. Defaults to an empty string.
object_type \GPPA_Object_Type
The current variation of the GPPA_Object_Type for which the where clause is being generated.
table string
The table being queried.
column string
The column in which the value is being queried.
operator string
The operator used to compare the column and value.
raw_value mixed
The raw value being filtered by.
value string
The sql-prepared value being filtered by.
sql_operator string
The operator that will be used in the query based on Populate Anything’s filter operator.
specification string
The value specification to be used. Typically one of
%s
,%d
,%f
.ident string
The disambiguated table column in which the value is being queried.
Since
This filter is available since Gravity Forms Populate Anything 1.2.34.