gpqr_file_name

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

Description

Filters the file name used when saving the QR code file.

Usage

Filter generated QR code file name for all forms.

add_filter( 'gpqr_file_name', 'my_custom_function' );

Filter generated QR code file name for a specific form.

add_filter( 'gpqr_file_name_FORMID', 'my_custom_function' );

Parameters

  • filename string

    The default file name to use for the QR code file.

  • content string

    File content represented as a UTF-8 string.

  • meta array

    Various meta information used to generate the QR code.

    Available keys:

    • form array: The Gravity Forms form array.

    • entry array: (optional) The Gravity Forms entry array. This may not be present if the QR code is not tied to a specific entry.

Since

This filter is available since Gravity Forms QR Code 1.0.16.