GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
If this file is called directly, abort. More...
Public Member Functions | |
__construct () | |
Generic initialization. More... | |
add_hooks () | |
Extensions should override this hook to add their hooks. More... | |
add_metabox_tab () | |
If Extension overrides tab_settings() and passes its own tab, add it to the tabbed settings metabox. More... | |
admin_notice () | |
Outputs the admin notices generated by the all plugins. More... | |
load_plugin_textdomain () | |
Load translations for the extension. More... | |
save_post ( $post_id) | |
Save extra view configuration. More... | |
tooltips ( $tooltips=array()) | |
Add tooltips for the extension. More... | |
Static Public Member Functions | |
static | add_notice ( $notice=array()) |
Add a notice to be displayed in the admin. More... | |
static | is_compatible () |
Is this extension even compatible? More... | |
Static Public Attributes | |
static | $is_compatible = array() |
Protected Member Functions | |
is_extension_supported () | |
Check whether the extension is supported: More... | |
tab_settings () | |
Add a tab to GravityView Edit View tabbed metabox. More... | |
Protected Attributes | |
$_author = 'Katz Web Services, Inc.' | |
$_item_id = NULL | |
$_max_gravityview_version = null | |
$_min_gravityview_version = '2.0-dev' | |
$_min_php_version = '5.6.4' | |
$_path = '' | |
$_text_domain = 'gravityview' | |
$_title = NULL | |
$_version = NULL | |
Static Protected Attributes | |
static | $admin_notices = array() |
If this file is called directly, abort.
The class.
An interface that most extensions would want to adhere to and inherit from.
Remove once all extensions have been updated to use Foundation.
Definition at line 18 of file class-gv-extension.php.
__construct | ( | ) |
Generic initialization.
Definition at line 79 of file class-gv-extension.php.
add_hooks | ( | ) |
Extensions should override this hook to add their hooks.
Definition at line 155 of file class-gv-extension.php.
add_metabox_tab | ( | ) |
If Extension overrides tab_settings() and passes its own tab, add it to the tabbed settings metabox.
Definition at line 206 of file class-gv-extension.php.
References GravityView_Metabox_Tabs\add().
|
static |
Add a notice to be displayed in the admin.
array | $notice | Array with class and message keys. The message is not escaped. |
Definition at line 290 of file class-gv-extension.php.
References gravityview().
admin_notice | ( | ) |
Outputs the admin notices generated by the all plugins.
Definition at line 309 of file class-gv-extension.php.
|
static |
Is this extension even compatible?
Definition at line 243 of file class-gv-extension.php.
|
protected |
Check whether the extension is supported:
Definition at line 257 of file class-gv-extension.php.
References gravityview().
load_plugin_textdomain | ( | ) |
Load translations for the extension.
wp-content/languages/gravityview/
folder and load using load_textdomain()
wp-content/plugins/gravityview/languages/
folder for gravityview-[locale].mo
file and load using load_textdomain()
load_plugin_textdomain()
from wp-content/plugins/gravityview/languages/
Definition at line 111 of file class-gv-extension.php.
References gravityview().
save_post | ( | $post_id | ) |
Save extra view configuration.
int | $post_id | Post ID |
Definition at line 163 of file class-gv-extension.php.
|
protected |
Add a tab to GravityView Edit View tabbed metabox.
By overriding this method, you will add a tab to View settings
Definition at line 194 of file class-gv-extension.php.
tooltips | ( | $tooltips = array() | ) |
Add tooltips for the extension.
Add a tooltip with an array using the title
and value
keys. The title
key is the H6 tag value of the tooltip; it's the headline. The value
is the tooltip content, and can contain any HTML.
The tooltip key must be gv_{name_of_setting}
. If the name of the setting is "example_extension_setting", the code would be:
$tooltips['gv_example_extension_setting'] = array( 'title' => 'About Example Extension Setting', 'value' => 'When you do [x] with [y], [z] happens.' );
array | $tooltips | Existing GV tooltips, with title and value keys |
Definition at line 182 of file class-gv-extension.php.
|
protected |
Definition at line 58 of file class-gv-extension.php.
|
protected |
Definition at line 33 of file class-gv-extension.php.
|
protected |
Definition at line 48 of file class-gv-extension.php.
|
protected |
Definition at line 43 of file class-gv-extension.php.
|
protected |
Definition at line 53 of file class-gv-extension.php.
|
protected |
Definition at line 63 of file class-gv-extension.php.
|
protected |
Definition at line 38 of file class-gv-extension.php.
|
protected |
Definition at line 22 of file class-gv-extension.php.
|
protected |
Definition at line 27 of file class-gv-extension.php.
|
staticprotected |
Definition at line 68 of file class-gv-extension.php.
|
static |
Definition at line 74 of file class-gv-extension.php.