fg_entryautomation_search_criteria
Description
This filter is executed when preparing the search criteria to retrieve entries for Automation.
Usage
add_filter( 'fg_entryautomation_search_criteria', 'your_function_name', 10, 3 );
Parameters
$search_criteria array
The search criteria to be filtered.$settings array
The current Automation action’s settings.$form array
The current Automation action’s form.
Examples
Search Only Failed Payments
This example will update the search criteria to only include entries whose payment failed.