bookmark_bordergform_incomplete_submissions_expiration_days

Description

Overrides the number of days until incomplete submissions are purged.

Usage

add_filter( 'gform_incomplete_submissions_expiration_days', 'your_function_name' );

Parameters

  • $expiration_days int

    The number of days until expiration. Defaults to 30.

Example

add_filter( 'gform_incomplete_submissions_expiration_days', 'your_function_name', 1, 10 );

function your_function_name( $expiration_days ) {
    $expiration_days = 90;
    return $expiration_days;
}

Placement

This code should be placed in the functions.php file of your active theme, or within its own plugin.

Source Code

This filter is located in forms_model.php