DescriptionUsageParametersExamplesPlacementSource Code
Description
Use this filter to change the 「Choices」 settings title in the admin for fields which have choices (drop down, radio button, checkboxes, multi select, product option).
Usage
1add_filter( 'gform_choices_setting_title', 'change_title' );
Parameters
$title string
The current title of the 「Choices」 setting.
Examples
This example changes the title from 「Choices」 to 「My Custom Title」.
1234add_filter( 'gform_choices_setting_title', 'change_title' );function change_title( $title ) { return 'My Custom Title';}
Placement
This code should be placed in the functions.php file of your active theme.
Source Code
This filter is located in form_detail.php