gpasc_auto_save_form_path_query_args

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

Description

Filters the query string parameters preserved in the stored form path. Only parameters in this list are kept; everything else is dropped so that data passed to the form via the URL is not persisted alongside the resume token. Add to this list if your form page cannot be resolved without an additional parameter.

Usage

Applied globally

add_filter( 'gpasc_auto_save_form_path_query_args', 'my_custom_function' );

Parameters

$allowed_args array

The query string parameter names to preserve.

$original_url string

The URL the form path is being derived from.

Since

  • 1.0.42 Hook added.