GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
Public Member Functions | Data Fields | Protected Attributes
GravityView_Widget_Custom_Content Class Reference

Widget to add custom content. More...

Inheritance diagram for GravityView_Widget_Custom_Content:
GravityView_Widget Widget Widget

Public Member Functions

 __construct ()
 
 render_frontend ( $widget_args, $content='', $context='')
 
- Public Member Functions inherited from Widget
 add_shortcode ()
 Add $this->shortcode_name shortcode to output self::render_frontend() More...
 
 as_configuration ()
 Return an array of the old format. More...
 
 assign_widget_options ( $options=array(), $template='', $widget='')
 Assign template specific widget options. More...
 
 get_setting ( $key)
 Get a setting by the setting key. More...
 
 get_settings ()
 Get the widget settings. More...
 
 get_widget_id ()
 Get the Widget ID. More...
 
 is_registered ()
 Whether this Widget's been registered already or not. More...
 
 maybe_do_shortcode ( $text, $widget=null)
 Do shortcode if the Widget's shortcode exists. More...
 
 pre_render_frontend ()
 General validations when rendering the widget. More...
 
 register_widget ( $widgets)
 Register widget to become available in admin. More...
 
 render_frontend ( $widget_args, $content='', $context='')
 Frontend logic. More...
 
 render_shortcode ( $atts, $content='', $context='')
 Shortcode. More...
 

Data Fields

 $icon = 'dashicons-editor-code'
 
- Data Fields inherited from Widget
 $configuration
 
 $icon
 
 $position = ''
 
 $UID = ''
 

Protected Attributes

 $show_on_single = false
 
- Protected Attributes inherited from Widget
 $defaults = array()
 
 $settings = array()
 
 $shortcode_name
 
 $widget_description = ''
 
 $widget_id = ''
 
 $widget_label = ''
 
 $widget_subtitle = ''
 

Additional Inherited Members

- Static Public Member Functions inherited from Widget
static from_configuration ( $configuration)
 Create the needed widget from a configuration array. More...
 
static get_default_widget_areas ()
 Default widget areas. More...
 
static registered ()
 Return all registered widgets. More...
 
- Protected Member Functions inherited from Widget
 get_default_settings ()
 Define general widget settings. More...
 

Detailed Description

Widget to add custom content.

Since
1.5.4

Definition at line 10 of file class-gravityview-widget-custom-content.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Definition at line 20 of file class-gravityview-widget-custom-content.php.

References Widget\$settings.

Member Function Documentation

◆ render_frontend()

render_frontend (   $widget_args,
  $content = '',
  $context = '' 
)

Field Documentation

◆ $icon

$icon = 'dashicons-editor-code'

Definition at line 12 of file class-gravityview-widget-custom-content.php.

◆ $show_on_single

$show_on_single = false
protected

Definition at line 18 of file class-gravityview-widget-custom-content.php.


The documentation for this class was generated from the following file: