gpb_user_agent
Description
Filter the user agent checked against the blocklist.
Usage
Filter the user agent checked against the blocklist.
add_filter( 'gpb_user_agent', 'my_custom_function' );
Filter the user agent checked against the blocklist when submitting a specific form.
add_filter( 'gpb_user_agent_FORMID', 'my_custom_function' );
Filter the user agent checked against the blocklist for a specific field.
add_filter( 'gpb_user_agent_FORMID_FIELDID', 'my_custom_function' );
Parameters
user_agent string
The user agent to check against the blocklist.
form array
The current form object.
field array
The current field object if provided.
Since
This filter is available since Gravity Forms Blocklist 1.3.8.