gpasc_visitor_prompt_enabled
Description
Filter whether or not the non-authorized visitor prompt should be shown.
Usage
Filter whether all forms should display the visitor prompt.
add_filter( 'gpasc_visitor_prompt_enabled', '__return_true' );
Filter whether a specific form should display the visitor prompt.
add_filter( 'gpasc_visitor_prompt_enabled_FORMID', '__return_true' );
Parameters
enabled bool
Whether or not the visitor prompt should be displayed. Defaults to true.
form array
The current form.
Since
This filter is available since Gravity Forms Advanced Save & Continue 1.0-beta-1.
Examples
Don’t display the visitor prompt
add_filter( 'gpasc_visitor_prompt_enabled', '__return_false' );