![]() |
GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Registers a lightbox provider. More...
Public Member Functions | |
| add_hooks () | |
| Adds actions and that modify GravityView to use this lightbox provider. More... | |
| allowed_atts ( $atts=array()) | |
| Modify the attributes allowed in an anchor tag generated by GravityView. More... | |
| enqueue_scripts () | |
| Enqueue scripts for the lightbox. More... | |
| enqueue_styles () | |
| Enqueue styles for the lightbox. More... | |
| fileupload_link_atts ( $link_atts, $field_compat=array(), $context=null, $additional_details=null) | |
| Modified File Upload field links to use lightbox. More... | |
| filter_lightbox_script ( $script='thickbox') | |
| Modifies the name of the stylesheet to be enqueued when loading thickbox. More... | |
| filter_lightbox_style ( $style='thickbox') | |
| Modifies the name of the stylesheet to be enqueued when loading thickbox. More... | |
| output_footer () | |
| Output raw HTML in the wp_footer() More... | |
| print_scripts ( $gravityview) | |
| Prints scripts for lightbox after a View is rendered. More... | |
| remove_hooks () | |
| Removes actions that were added by {. More... | |
Static Public Attributes | |
| static | $script_slug |
| static | $slug |
| static | $style_slug |
Protected Member Functions | |
| default_settings () | |
| Get default settings for the script. More... | |
| get_settings () | |
| Get the settings for the JavaScript, with filter applied. More... | |
Static Protected Member Functions | |
| static | is_active ( $gravityview) |
| Returns whether the provider is active for this View. More... | |
Registers a lightbox provider.
Definition at line 8 of file class-gravityview-lightbox-provider.php.
| add_hooks | ( | ) |
Adds actions and that modify GravityView to use this lightbox provider.
Definition at line 19 of file class-gravityview-lightbox-provider.php.
| allowed_atts | ( | $atts = array() | ) |
Modify the attributes allowed in an anchor tag generated by GravityView.
Definition at line 175 of file class-gravityview-lightbox-provider.php.
|
protected |
Get default settings for the script.
Definition at line 128 of file class-gravityview-lightbox-provider.php.
| enqueue_scripts | ( | ) |
Enqueue scripts for the lightbox.
Definition at line 157 of file class-gravityview-lightbox-provider.php.
| enqueue_styles | ( | ) |
Enqueue styles for the lightbox.
Definition at line 164 of file class-gravityview-lightbox-provider.php.
| fileupload_link_atts | ( | $link_atts, | |
$field_compat = array(), |
|||
$context = null, |
|||
$additional_details = null |
|||
| ) |
Modified File Upload field links to use lightbox.
Definition at line 195 of file class-gravityview-lightbox-provider.php.
References $link_atts.
| filter_lightbox_script | ( | $script = 'thickbox' | ) |
Modifies the name of the stylesheet to be enqueued when loading thickbox.
| string | $script |
Definition at line 108 of file class-gravityview-lightbox-provider.php.
| filter_lightbox_style | ( | $style = 'thickbox' | ) |
Modifies the name of the stylesheet to be enqueued when loading thickbox.
| string | $style |
Definition at line 119 of file class-gravityview-lightbox-provider.php.
|
protected |
Get the settings for the JavaScript, with filter applied.
Definition at line 139 of file class-gravityview-lightbox-provider.php.
References $settings.
|
staticprotected |
Returns whether the provider is active for this View.
| GV\Template_Context | $gravityview |
Definition at line 63 of file class-gravityview-lightbox-provider.php.
References GravityView_Lightbox\DEFAULT_PROVIDER, and gravityview().
| output_footer | ( | ) |
Output raw HTML in the wp_footer()
Definition at line 150 of file class-gravityview-lightbox-provider.php.
| print_scripts | ( | $gravityview | ) |
Prints scripts for lightbox after a View is rendered.
| GV\Template_Context | $gravityview |
Definition at line 44 of file class-gravityview-lightbox-provider.php.
| remove_hooks | ( | ) |
Removes actions that were added by {.
Definition at line 88 of file class-gravityview-lightbox-provider.php.
|
static |
Definition at line 12 of file class-gravityview-lightbox-provider.php.
|
static |
Definition at line 10 of file class-gravityview-lightbox-provider.php.
|
static |
Definition at line 14 of file class-gravityview-lightbox-provider.php.