DescriptionUsageExamplesPlacementSource Code
Description
This filter controls whether the values for the answer choices may be modified in the Form Editor. By default, the ability to set values is not available.
Warning: Editing the values after entries have been submitted will affect the integrity of the results. Delete all entries for the form before editing the values.
Usage
add_filter( 'gform_quiz_show_choice_values', 'gquiz_show_values' );
Examples
add_filter( 'gform_quiz_show_choice_values', 'gquiz_show_values' );
function gquiz_show_values(){
return true;
}
Placement
This code should be placed in the functions.php file of your active theme.
Source Code
This filter is located in GFQuiz::quiz_field_settings() in gravityformsquiz/class-gf-quiz.php.