GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Go to the source code of this file.
Variables | |
$display_value = $gravityview->display_value | |
$entry = $gravityview->entry->as_entry() | |
$field = $gravityview->field->field | |
if(! isset( $gravityview)||empty( $gravityview->template)) | $field_id = $gravityview->field->ID |
The default address field output template. More... | |
$field_settings = $gravityview->field->as_configuration() | |
$is_single_input = floor( $field_id ) !== floatval( $field_id ) | |
$value = $gravityview->value | |
if(! $is_single_input) | else |
$display_value = $gravityview->display_value |
Definition at line 17 of file field-address-html.php.
$entry = $gravityview->entry->as_entry() |
Definition at line 18 of file field-address-html.php.
$field = $gravityview->field->field |
Definition at line 15 of file field-address-html.php.
if (! isset($gravityview)||empty($gravityview->template)) $field_id = $gravityview->field->ID |
The default address field output template.
$gravityview
Definition at line 14 of file field-address-html.php.
$field_settings = $gravityview->field->as_configuration() |
Definition at line 19 of file field-address-html.php.
$is_single_input = floor( $field_id ) !== floatval( $field_id ) |
Definition at line 20 of file field-address-html.php.
$value = $gravityview->value |
Definition at line 16 of file field-address-html.php.
if (! $is_single_input) else |
Make sure we're only showing enabled inputs.
Disable internal Gravity Forms map link. Use our own legacy code and filter.
Use Gravity Forms' method to get the full address.
Add map link if it's not set (default, back compat) or if it's set to yes
Add the map link as another line.
Definition at line 65 of file field-address-html.php.