GravityView  2.10.1
The best, easiest way to display Gravity Forms entries on your website.
Variables
field-created_by-html.php File Reference

Go to the source code of this file.

Variables

 $field_settings = $gravityview->field->as_configuration()
 
if(! $user) $name_display = empty( $field_settings['name_display'] ) ? 'display_name' : $field_settings['name_display']
 
if(empty( $value)) $user = get_userdata( $value )
 
if(! isset( $gravityview)||empty( $gravityview->template)) $value = $gravityview->value
 The default created by field output template. More...
 
case __pad0__
 
case __pad1__
 
 break
 
 endswitch
 

Variable Documentation

◆ $field_settings

$field_settings = $gravityview->field->as_configuration()

Definition at line 15 of file field-created_by-html.php.

◆ $name_display

if (! $user) $name_display = empty( $field_settings['name_display'] ) ? 'display_name' : $field_settings['name_display']

Definition at line 30 of file field-created_by-html.php.

◆ $user

if (empty($value)) $user = get_userdata( $value )

◆ $value

if (! isset($gravityview)||empty($gravityview->template)) $value = $gravityview->value

The default created by field output template.

$gravityview

Since
2.0

Definition at line 14 of file field-created_by-html.php.

◆ __pad0__

case __pad0__

Definition at line 43 of file field-created_by-html.php.

◆ __pad1__

case __pad1__

Definition at line 46 of file field-created_by-html.php.

◆ break

break

Definition at line 36 of file field-created_by-html.php.

◆ endswitch

endswitch