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

Go to the source code of this file.

Variables

 $allowed_html = apply_filters( 'gravityview/fields/textarea/allowed_kses', 'post', $gravityview )
 
 $entry = $gravityview->entry->as_entry()
 
 $field_settings = $gravityview->field->as_configuration()
 
 $value = $gravityview->value
 The default textarea field output template. More...
 
if(! empty( $field_settings['trim_words'])) if(! empty( $field_settings['make_clickable'])) if (! empty($field_settings[ 'new_window']))
 

Variable Documentation

◆ $allowed_html

$allowed_html = apply_filters( 'gravityview/fields/textarea/allowed_kses', 'post', $gravityview )
Runs Filter:
gravityview/fields/textarea/allowed_kses Allow the following HTML tags and strip everything else.
Since
1.21.5.1
See also
$allowedposttags global in kses.php for an example of the format for passing an array of allowed tags and atts
wp_kses_allowed_html() For allowed contexts
Parameters
array | string$allowed_htmlContext string (allowed strings are post, strip, data, entities, or the name of a field filter such as pre_user_description) or allowed tags array (see above). [Default: 'post']
Since
2.0
Parameters
\GV\Template_Context$gravityviewThe context

Definition at line 21 of file field-textarea-html.php.

◆ $entry

$entry = $gravityview->entry->as_entry()

Definition at line 9 of file field-textarea-html.php.

◆ $field_settings

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

Definition at line 10 of file field-textarea-html.php.

◆ $value

$value = $gravityview->value

The default textarea field output template.

$gravityview

Since
2.0

Definition at line 8 of file field-textarea-html.php.

◆ if

if (! empty($field_settings[ 'trim_words'])) if (! empty($field_settings[ 'make_clickable'])) if(! empty( $field_settings['new_window']))
Runs Filter:
gravityview_excerpt_more Modify the "Read more" link used when "Maximum Words" setting is enabled and the output is truncated
Since
1.16.1
Parameters
string$excerpt_moreDefault: ...

Definition at line 45 of file field-textarea-html.php.