GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Go to the source code of this file.
Variables | |
$allow_html = apply_filters( 'gravityview/fields/textarea/allow_html', \GV\Utils::get( $field_settings, 'allow_html', true ), $gravityview ) | |
$entry = $gravityview->entry->as_entry() | |
$field_settings = $gravityview->field->as_configuration() | |
if(! isset( $gravityview)||empty( $gravityview->template)) | $value = $gravityview->value |
The default textarea field output template. More... | |
if( $allow_html) | else |
if(! empty( $field_settings['trim_words'])) if(! empty( $field_settings['make_clickable'])) | if (! empty($field_settings[ 'new_window'])) |
$allow_html = apply_filters( 'gravityview/fields/textarea/allow_html', \GV\Utils::get( $field_settings, 'allow_html', true ), $gravityview ) |
gravityview/fields/textarea/allow_html
Allow the following HTML tags and strip everything else.bool | $allow_html | Whether to allow rendering HTML submitted in the textarea field. If disabled, output will be escaped with esc_html(). Default: true. |
\GV\Template_Context | $gravityview | The context |
Definition at line 24 of file field-textarea-html.php.
$entry = $gravityview->entry->as_entry() |
Definition at line 15 of file field-textarea-html.php.
$field_settings = $gravityview->field->as_configuration() |
Definition at line 16 of file field-textarea-html.php.
if (! isset($gravityview)||empty($gravityview->template)) $value = $gravityview->value |
The default textarea field output template.
$gravityview
Definition at line 14 of file field-textarea-html.php.
if ($allow_html) else |
gravityview/fields/textarea/allowed_kses
Allow the following HTML tags and strip everything else. array | string | $allowed_html | Context 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'] |
\GV\Template_Context | $gravityview | The context |
Definition at line 42 of file field-textarea-html.php.
if (! empty($field_settings[ 'trim_words'])) if (! empty($field_settings[ 'make_clickable'])) if(! empty( $field_settings['new_window'])) |
gravityview_excerpt_more
Modify the "Read more" link used when "Maximum Words" setting is enabled and the output is truncated string | $excerpt_more | Default: ... |
Definition at line 66 of file field-textarea-html.php.