9 if ( ! isset( $gravityview ) || empty( $gravityview->template ) ) {
10 gravityview()->log->error(
'{file} template loaded without context', array(
'file' => __FILE__ ) );
15 $form = $gravityview->view->form->form;
23 if ( class_exists(
'GFQuiz') &&
$field_settings[
'quiz_use_max_score'] ) {
25 $max_score = GFQuiz::get_instance()->get_max_score(
$form );
if(! isset( $gravityview)||empty( $gravityview->template)) $display_value
The default quiz score field output template.
gravityview()
The main GravityView wrapper function.
gv_empty( $value, $zero_is_empty=true, $allow_string_booleans=true)
Is the value empty?