gpasc_visitor_prompt_enabled

  1. Description
  2. Usage
  3. Parameters
  4. Since
  5. Examples
    1. Don’t display the visitor prompt

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' );