GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
templates
deprecated
fields
survey.php
Go to the documentation of this file.
1
<?php
2
/**
3
* Display the Quiz field type
4
*
5
* @package GravityView
6
* @subpackage GravityView/templates/fields
7
*/
8
9
// Make sure the CSS file is enqueued
10
if
( class_exists(
'GFSurvey'
) && is_callable( array(
'GFSurvey'
,
'get_instance'
) ) ) {
11
wp_register_style(
'gsurvey_css'
, GFSurvey::get_instance()->get_base_url() .
'/css/gsurvey.css'
);
12
wp_print_styles(
'gsurvey_css'
);
13
}
14
15
echo
GravityView_View::getInstance
()->getCurrentField(
'display_value'
);
GravityView_View\getInstance
static getInstance( $passed_post=NULL)
Definition:
class-template.php:195