GravityView  1.19.4
The best, easiest way to display Gravity Forms entries on your website.
widget-poll.php
Go to the documentation of this file.
1 <?php
2 /**
3  * Display the Poll widget
4  *
5  * @see ../class-gravityview-widget-poll.php
6  */
7 
9 
10 /**
11  * Merge tag is already generated by the class.
12  * Access array of settings to generate your own using the $gravityview_view->poll_settings variable.
13  */
14 $merge_tag = $gravityview_view->poll_merge_tag;
15 
16 echo GFCommon::replace_variables( $merge_tag, $gravityview_view->getForm(), array( 'id' => 0 ) );
$gravityview_view
Display the Poll widget.
Definition: widget-poll.php:8
$merge_tag
Merge tag is already generated by the class.
Definition: widget-poll.php:14
static getInstance($passed_post=NULL)