-
Notifications
You must be signed in to change notification settings - Fork 62
Actions
- gravityview/widget/recent-entries/before_widget
- gravityview/widget/recent-entries/after_widget
- gravityview_recent_entries_widget_form
- gravityview/widgets/{$zone}/{$view->ID}/rendered
- gravityview_include_backend_actions
- gv_duplicate_view
- gravityview_remove_conflicts_after
- gravityview/metaboxes/before_render
- gravityview/metaboxes/after_render
- gravityview/metaboxes/permissions_before
- gravityview/metaboxes/permissions_after
- gravityview/metaboxes/multiple_entries/after
- gravityview_metabox_sort_after
- gravityview/metaboxes/delete_entry
- gravityview/metaboxes/edit_entry
- gravityview/metaboxes/data-source/before
- gravityview/metaboxes/data-source/after
- gravityview_clear_form_cache
- gravityview/approve_entries/updated
- gravityview/approve_entries/{$action}
- gravityview/delete-entry/deleted
- gravityview/delete-entry/trashed
- gravityview/duplicate-entry/duplicated
- gform_post_send_entry_note
- gravityview/field/notes/scripts
- gravityview/field/notes/scripts
- gravityview/edit-entry/publishing-action/before
- gravityview/edit-entry/publishing-action/after
- gravityview/edit_entry/before_update
- gravityview/edit_entry/after_update
- gform_post_process_feed
- gravityview/edit-entry/render/before
- gravityview/edit-entry/render/after
- gravityview_view_saved
- gravityview_search_widget_fields_before
- gravityview_search_widget_field_before
- gravityview_search_widget_field_after
- gravityview_search_widget_fields_after
- gravityview/template/before
- gravityview_before
- gravityview_before
- gravityview/template/header
- gravityview_header
- gravityview_header
- gravityview/template/footer
- gravityview_footer
- gravityview_footer
- gravityview/template/after
- gravityview_after
- gravityview_after
- gravityview_log_debug
- gravityview_log_debug
- gravityview/template/field/survey/rating/before
- gravityview_log_debug
- gravityview/field/approval/load_scripts
- gravityview/field/notes/scripts
- gravityview_log_error
- gravityview_log_debug
- {$plugin}/validation/{$setting['id']}"}
- gk/foundation/settings/initialized
- gk/foundation/licenses/initialized
- gk/foundation/rest/route/before
- gk/foundation/rest/route/after
- gk/foundation/ajax/before
- gk/foundation/ajax/after
- gk/foundation/translations/initialized
- gk/foundation/initialized
- {$action)}
- {$action)}
- gravityview/shortcode/before-processing
- gravityview/view/get
- gravityview/view/get
- gravityview/view/query
- gravityview/template/table/cells/before
- gravityview_table_cells_before
- gravityview/template/table/cells/after
- gravityview_table_cells_after
- gravityview/template/table/body/before
- gravityview_table_body_before
- gravityview/template/table/body/after
- gravityview_table_body_after
- gravityview/template/table/tr/before
- gravityview_table_tr_before
- gravityview/template/table/tr/after
- gravityview_table_tr_after
- gravityview_include_frontend_actions
- gravityview_render_entry_{$view->ID}
- gravityview/template/list/body/before
- gravityview_list_body_before
- gravityview/template/list/body/after
- gravityview_list_body_after
- {$zone)}
- {$zone)}
- {$zone)}
- {$zone)}
- gravityview/loaded
- gravityview/template/view/render
- gravityview_log_debug
- gravityview_log_debug
- gravityview_log_debug
Before recent entries are displayed in the WordPress widget.
Name | Type | Description |
---|---|---|
args |
array |
Display arguments including before_title, after_title, before_widget, and after_widget. |
instance |
array |
The settings for the particular instance of the widget. |
After recent entries are displayed in the WordPress widget.
Name | Type | Description |
---|---|---|
args |
array |
Display arguments including before_title, after_title, before_widget, and after_widget. |
instance |
array |
The settings for the particular instance of the widget. |
Displayed at the bottom of the Recent Entries widget admin form.
Name | Type | Description |
---|---|---|
this |
\GravityView_Recent_Entries_Widget |
WP_Widget object |
instance |
array |
Current widget instance |
Prevent widgets from being called twice.
Triggered after all GravityView admin files are loaded.
After a View is duplicated, perform an action.
Since: 1.6
See: \GravityView_Admin_Duplicate_View::copy_view_meta_info
Name | Type | Description |
---|---|---|
new_view_id |
int |
The ID of the newly created View |
post |
\WP_Post |
The View that was just cloned |
Runs after no-conflict styles are removed. You can re-add styles here.
Before rendering GravityView metaboxes.
Since: 1.8
Name | Type | Description |
---|---|---|
post |
\WP_Post |
After rendering GravityView metaboxes.
Since: 1.8
Name | Type | Description |
---|---|---|
post |
\WP_Post |
Render additional Permissions metabox settings
Since: 2.9
Name | Type | Description |
---|---|---|
current_settings |
array |
Render additional Permissions metabox settings, like Delete Entry (if available)
Since: 2.9
Name | Type | Description |
---|---|---|
current_settings |
array |
Render additional Multiple Entries settings
Since: 2.9.4
Name | Type | Description |
---|---|---|
current_settings |
array |
Array of settings returned from {@see \gravityview_get_template_settings()}. |
Since: 1.7
Render Delete Entry metabox settings, if enabled
Since: 2.9.2
See: \GravityView_Delete_Entry_Admin::view_settings_metabox
Name | Type | Description |
---|---|---|
current_settings |
array |
Render Edit Entry metabox settings, if enabled
Since: 2.9
See: \GravityView_Edit_Entry_Admin::view_settings_metabox
Name | Type | Description |
---|---|---|
current_settings |
array |
Since: 1.22.1
Name | Type | Description |
---|---|---|
current_form |
int |
Form currently selected in the View (0 if none selected) |
forms |
array |
Array of active forms, not in trash |
Since: 1.22.1
Name | Type | Description |
---|---|---|
current_form |
int |
Form currently selected in the View (0 if none selected) |
forms |
array |
Array of active forms, not in trash |
Destroy the cache for this form
Since: 1.5.1
See: class-cache.php
Triggered when an entry approval is updated.
Since: 1.7.6.1
Name | Type | Description |
---|---|---|
entry_id |
int |
ID of the Gravity Forms entry |
status |
string , int
|
String whether entry is approved or not. See GravityView_Entry_Approval_Status for valid statuses. |
Triggered when an entry approval is set. {$action} can be 'approved', 'unapproved', or 'disapproved'.
Since: 1.7.6.1
Name | Type | Description |
---|---|---|
entry_id |
int |
ID of the Gravity Forms entry |
Triggered when an entry is deleted.
Since: 1.16.4
Name | Type | Description |
---|---|---|
entry_id |
int |
ID of the Gravity Forms entry |
entry |
array |
Deleted entry array |
Triggered when an entry is trashed.
Since: 1.16.4
Name | Type | Description |
---|---|---|
entry_id |
int |
ID of the Gravity Forms entry |
entry |
array |
Deleted entry array |
Triggered when an entry is duplicated.
Since: 2.5
Name | Type | Description |
---|---|---|
duplicated_entry |
array |
The duplicated entry |
entry |
array |
The original entry |
See: It's here for compatibility with Gravity Forms https://www.gravityhelp.com/documentation/article/10146-2/
Print scripts and styles required for the Notes field.
Since: 1.17
See: \GravityView_Field_Notes::enqueue_scripts
Print scripts and styles required for the Notes field.
Since: 1.17
See: \GravityView_Field_Notes::enqueue_scripts
container.
Since: 1.5.1
Name | Type | Description |
---|---|---|
form |
array |
The Gravity Forms form |
entry |
array |
The Gravity Forms entry |
view_id |
int |
The current View ID |
container.
Since: 1.5.1
Name | Type | Description |
---|---|---|
form |
array |
The Gravity Forms form |
entry |
array |
The Gravity Forms entry |
view_id |
int |
The current View ID |
post_id |
int |
The current Post ID |
Perform an action before the entry has been updated using Edit Entry.
Since: 2.1
Name | Type | Description |
---|---|---|
form |
array |
Gravity Forms form array |
entry_id |
string |
Numeric ID of the entry that is being updated |
this |
\GravityView_Edit_Entry_Render |
This object |
gv_data |
\GravityView_View_Data |
The View data |
Perform an action after the entry has been updated using Edit Entry.
Since: 2.1
Name | Type | Description |
---|---|---|
form |
array |
Gravity Forms form array |
entry_id |
string |
Numeric ID of the entry that was updated |
this |
\GravityView_Edit_Entry_Render |
This object |
gv_data |
\GravityView_View_Data |
The View data |
Maybe process feeds.
Since: develop
Before rendering the Edit Entry form.
Since: 1.17
Name | Type | Description |
---|---|---|
this |
\GravityView_Edit_Entry_Render |
After rendering the Edit Entry form.
Since: 1.17
Name | Type | Description |
---|---|---|
this |
\GravityView_Edit_Entry_Render |
After a View has been saved in the admin.
Since: 1.17.2
Name | Type | Description |
---|---|---|
post_id |
int |
ID of the View that has been saved |
statii |
array |
Array of statuses of the post meta saving processes. If saving worked, each key should be mapped to a value of the post ID (directory_widgets => 124 ). If failed (or didn't change), the value will be false. |
tag of the GravityView search form, before inputs are rendered.
Name | Type | Description |
---|---|---|
this |
\GravityView_Widget_Search |
GravityView Widget instance |
Before each search input is rendered (other than the submit button).
Name | Type | Description |
---|---|---|
this |
\GravityView_Widget_Search |
GravityView Widget instance |
array{key:string,label:string,value:string,type:string,choices:array} $search_field |
After each search input is rendered (other than the submit button).
Name | Type | Description |
---|---|---|
this |
\GravityView_Widget_Search |
GravityView Widget instance |
search_field |
array |
tag of the GravityView search form, after inputs are rendered.
Name | Type | Description |
---|---|---|
this |
\GravityView_Widget_Search |
GravityView Widget instance |
Prepend content to the view.
Name | Type | Description |
---|---|---|
gravityview |
\GV\Template_Context |
The $gravityview object available in templates. |
Deprecated: Use gravityview/template/before
Prepend content to the View container <div>
.
Deprecated: Use gravityview/template/before
.
Prepend content to the view container
Name | Type | Description |
---|---|---|
gravityview |
\GV\Template_Context |
The $gravityview object available in templates. |
Deprecated: Use gravityview/template/header
Prepend content to the View container <div>
.
Deprecated: Use gravityview/template/header
.
Prepend outside of the view container
Name | Type | Description |
---|---|---|
gravityview |
\GV\Template_Context |
The $gravityview object available in templates. |
Deprecated: Use gravityview/template/footer
Display content after a View. Used to render footer widget areas. Rendered outside the View container <div>
.
Deprecated: Use gravityview/template/footer
.
Append content to the view.
Since: 2.0
Name | Type | Description |
---|---|---|
gravityview |
\GV\Template_Context |
The $gravityview object available in templates. |
Deprecated: Use gravityview/template/after
Append content to the View container <div>
.
Deprecated: Use gravityview/template/after
The default post_category field output template.
Since: 2.0
Backup!
Since: 2.16
Name | Type | Description |
---|---|---|
field |
\GV\GF_Field |
The current field. |
gravityview |
\GV\Template_Context |
The context. |
The default post_content field output template.
Since: 2.0
Trigger loading the field approval javascript.
Since: 1.19
See: \GravityView_Field_Approval::enqueue_and_localize_script
Name | Type | Description |
---|---|---|
\GV\Template_Context |
The $gravityview field template context object. |
Print scripts and styles required for the Notes field.
Since: 1.17
See: \GravityView_Field_Notes::enqueue_scripts
Name | Type | Description |
---|---|---|
gravityview |
\GV\Template_Context |
The context. |
The default quiz field output template.
Since: 2.0
The default post_title field output template.
Since: 2.0
Runs when validation rules are not specified and before the setting is marked as validated.
Since: 1.0.0
Name | Type | Description |
---|---|---|
setting |
array |
Original setting. |
value_to_validate |
string |
Value to validate. |
Fires when the class has finished initializing.
Since: 1.0.0
Name | Type | Description |
---|---|---|
this |
Fires when the class has finished initializing.
Since: 1.0.0
Name | Type | Description |
---|---|---|
this |
Fires before the REST API route is processed.
Since: 1.0.11
Name | Type | Description |
---|---|---|
route |
array |
Fires after the REST API route is processed.
Since: 1.0.11
Name | Type | Description |
---|---|---|
route |
array |
Fires before the Ajax call is processed.
Since: 1.0.11
Name | Type | Description |
---|---|---|
router |
string |
|
route |
string |
|
payload |
array |
Fires after the Ajax call is processed.
Since: 1.0.11
Name | Type | Description |
---|---|---|
router |
string |
|
route |
string |
|
payload |
array |
|
result |
mixed , \Exception
|
Fires when the class has finished initializing.
Since: 1.0.0
Name | Type | Description |
---|---|---|
this |
Fires when the class has finished initializing.
Since: 1.0.0
Name | Type | Description |
---|---|---|
this |
Let's make this testable!
Let's make this testable!
Runs before the GV shortcode is processed; can be used to load additional scripts/styles.
Since: 2.13.4
Name | Type | Description |
---|---|---|
view |
\GV\View |
GV View |
post |
\WP_Post |
Associated WP post |
Override View.
Since: 2.1
Name | Type | Description |
---|---|---|
view |
\GV\View |
The View instance pointer. |
Override View.
Since: 2.1
Name | Type | Description |
---|---|---|
view |
\GV\View |
The View instance pointer. |
Override the \GF_Query before the get() call.
Name | Type | Description |
---|---|---|
query |
\GF_Query |
The current query object reference |
this |
\GV\View |
The current view object |
request |
\GV\Request |
The request object |
while rendering each entry in the loop. Can be used to insert additional table cells.
Since: 2.0
Name | Type | Description |
---|---|---|
\GV\Template_Context |
The context. |
while rendering each entry in the loop. Can be used to insert additional table cells.
Deprecated: Use gravityview/template/table/cells/before
while rendering each entry in the loop. Can be used to insert additional table cells.
Since: 2.0
Name | Type | Description |
---|---|---|
\GV\Template_Context |
The context. |
while rendering each entry in the loop. Can be used to insert additional table cells.
Deprecated: Use gravityview/template/table/cells/after
of the table.
Since: 2.0
Name | Type | Description |
---|---|---|
context |
\GV\Template_Context |
The template context. |
Inside the tbody
, before any rows are rendered. Can be used to insert additional rows.
Deprecated: Use gravityview/template/table/body/before
of the table at the end.
Since: 2.0
Name | Type | Description |
---|---|---|
context |
\GV\Template_Context |
The template context. |
Inside the tbody
, after any rows are rendered. Can be used to insert additional rows.
Deprecated: Use gravityview/template/table/body/after
of the table when there are no results.
Since: 2.0
Name | Type | Description |
---|---|---|
context |
\GV\Template_Context |
The template context. |
while rendering each entry in the loop. Can be used to insert additional table rows.
Deprecated: USe gravityview/template/table/tr/before
of the table when there are no results.
Since: 2.0
Name | Type | Description |
---|---|---|
context |
\GV\Template_Context |
The template context. |
while rendering each entry in the loop. Can be used to insert additional table cells.
Deprecated: USe gravityview/template/table/tr/after
Deprecated: Use gravityview/loaded
along with \GV\Request::is_admin(), etc.
Nice place to insert extensions' frontend stuff
Before rendering a single entry for a specific View ID.
Since: 1.17
Name | Type | Description |
---|---|---|
entry |
\GV\Entry |
The entry about to be rendered |
view |
\GV\View |
The connected view |
request |
\GV\Request |
The associated request |
of the list.
Since: 2.0
Name | Type | Description |
---|---|---|
context |
\GV\Template_Context |
The template context. |
Inside the tbody
, before any rows are rendered. Can be used to insert additional rows.
Deprecated: Use gravityview/template/list/body/before
of the list at the end.
Since: 2.0
Name | Type | Description |
---|---|---|
context |
\GV\Template_Context |
The template context. |
Inside the tbody
, after any rows are rendered. Can be used to insert additional rows.
Deprecated: Use gravityview/template/list/body/after
of the list at the end.
Since: 2.0
Name | Type | Description |
---|---|---|
context |
\GV\Template_Context |
The template context. |
Inside the entry
, before any rows are rendered. Can be used to insert additional rows.
Deprecated: Use gravityview/template/list/entry/$zone/before
of the list at the end.
Since: 2.0
Name | Type | Description |
---|---|---|
context |
\GV\Template_Context |
The template context. |
Inside the entry
, after any rows are rendered. Can be used to insert additional rows.
Deprecated: Use gravityview/template/list/entry/after
The core has been loaded.
Before rendering.
Since: 2.0
Name | Type | Description |
---|---|---|
template |
\GV\View_Template |
The current template. |
View has been set already.
Doesn't have a connected form.
Kick off all advanced filters.