17 $this->label = esc_html__(
'Quiz',
'gk-gravityview' );
18 parent::__construct();
23 if(
'edit' === $context ) {
24 return $field_options;
28 'quiz_show_explanation' => array(
30 'label' => __(
'Show Answer Explanation?',
'gk-gravityview' ),
31 'desc' => __(
'If the field has an answer explanation, show it?',
'gk-gravityview'),
33 'merge_tags' =>
false,
37 return $new_fields + $field_options;
Modify field settings by extending this class.
field_options( $field_options, $template_id, $field_id, $context, $input_type, $form_id)
if(empty( $created_by)) $form_id
if(false !==strpos( $value, '00:00')) $field_id
string $field_id ID of the field being displayed
new GravityView_Field_Quiz