gform_mollie_components_object

Description

Modify Mollie Components object when displaying Mollie Field.

Usage

add_filter( 'gform_mollie_components_object', 'your_function_name', 10, 2 );

Parameters

  • $args array

    Mollie components object.

  • $form_id int

    Current form ID.

Placement

This code should be placed in the functions.php file of your active theme.

Since

Added in Mollie 1.0

Source Code

$args = apply_filters( 'gform_mollie_components_object', $args, $form['id'] );

This hook is located in GF_Mollie::register_init_scripts() in class-gf-mollie.php.