gpasc_drafts_cookie_expiration_time

  1. Description
  2. Usage
  3. Parameters
  4. Since

Description

Controls how long the draft token cookie is valid for in seconds.

Note: the draft token cookie is only applicable for non-authenticated users.

Usage

add_filter( 'gpasc_drafts_cookie_expiration_time', 'my_custom_function' );

Parameters

  • expiration_length int

    The number of seconds the cookie should be valid for. The default is 2592000 seconds (30 days).

Since

This filter is available since Gravity Forms Advanced Save & Continue 1.0-beta-1.