gform_freshbooks_enable_dynamic_field_mapping

Description

This filter is used to enable the display of the option for dynamic field mapping under the ‘Line Items’ setting on the Freshbooks feed. Dynamic field mapping allows you to map form fields to the line item’s unit cost and quantity.

Usage

add_filter( 'gform_freshbooks_enable_dynamic_field_mapping', '__return_true' );

Parameters

This hook has no parameters.

Placement

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

Source Code

This filter is located in class-gf-freshbooks.php.