gpmpn_payment_field_types

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

Description

Filter the field types that require the user to submit the form from the page on which they are rendered.

Usage

Applied globally

add_filter( 'gpmpn_payment_field_types', 'my_custom_function' );

Applied to specific form

add_filter( 'gpmpn_payment_field_types_FORMID', 'my_custom_function' );

Parameters

$field_types array

The payment field types.

$form array

The current form.

Since

  • 1.3.9 Hook added.