GravityView  2.1.1
The best, easiest way to display Gravity Forms entries on your website.
Namespaces | Variables
custom.php File Reference

Go to the source code of this file.

Namespaces

 GravityView
 GPL2+
 

Variables

if(empty( $field_settings['content'])) $content = GravityView_API::replace_variables( $field_settings['content'], $form, $entry, false, true, false )
 
 $field_settings ['content'] = apply_filters( 'gravityview/fields/custom/content_before', $field_settings['content'] )
 
 $field_settings ['content'] = trim( rtrim( $field_settings['content'] ) )
 
 $gravityview_view = GravityView_View::getInstance()
 

Variable Documentation

◆ $content

if (apply_filters('gravityview/fields/custom/decode_shortcodes', false, $content)) if (!empty($field_settings[ 'wpautop'])) $content = GravityView_API::replace_variables( $field_settings['content'], $form, $entry, false, true, false )

◆ $field_settings [1/2]

array $field_settings = apply_filters( 'gravityview/fields/custom/content_before', $field_settings['content'] )
Runs Filter:
gravityview/fields/custom/content_before Modify Custom Content field output before Merge Tag processing
Since
1.6.2
Parameters
string$contentHTML content of field

Definition at line 27 of file custom.php.

Referenced by GravityView_API\entry_link_html(), GravityView_API\field_value(), GravityView_Field_Is_Approved\filter_field_value(), GravityView_Field_Date_Created\get_content(), GravityView_Field_FileUpload\get_field_input(), GV\Mocks\GravityView_API_field_label(), and GV\Mocks\GravityView_API_field_value().

◆ $field_settings [2/2]

$field_settings[ 'content'] = trim( rtrim( $field_settings['content'] ) )

Definition at line 29 of file custom.php.

◆ $gravityview_view

$gravityview_view = GravityView_View::getInstance()

Definition at line 10 of file custom.php.