gform_product_info_name_include_field_label

Description

This filter is used to control the inclusion of the field label in the product name for radio and select type Product fields. It only applies to the product information which is generated during submission, which is used by notifications, confirmations, add-ons and the entry detail page in the admin.

Usage

Include the field label.

add_filter( 'gform_product_info_name_include_field_label', '__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 GFCommon::get_product_fields() in common.php.