8 if ( ! isset( $gravityview ) || empty( $gravityview->template ) ) {
9 gravityview()->log->error(
'{file} template loaded without context', array(
'file' => __FILE__ ) );
16 $form = $gravityview->view->form->form;
18 $entry = $gravityview->entry->as_entry();
54 $output = apply_filters(
'gravityview_field_tick',
'<span class="dashicons dashicons-yes"></span>',
$entry,
$field, $gravityview );
gravityview_get_field_label( $form, $field_id, $field_value='')
Retrieve the label of a given field id (for a specific form)
gravityview_get_field_value( $entry, $field_id, $display_value)
Handle getting values for complex Gravity Forms fields.
if(! isset( $gravityview)||empty( $gravityview->template)) $field_id
The default checkbox field output template.
static get( $array, $key, $default=null)
Grab a value from an array or an object or default.
gravityview()
The main GravityView wrapper function.