2.48.3 on November 17, 2025
This hotfix resolves a performance issue introduced in 2.48.2.
🐛 Fixed
- After the 2.48.2 update, Views were taking significantly longer to load.
🔧 Updated
- Foundation to version 1.7.0.
Release notes and version history for GravityView . Display your Gravity Forms data on your website. Search and sort the data. Allow users to edit and delete entries from the front of your site. All with a great drag-and-drop interface.
This hotfix resolves a performance issue introduced in 2.48.2.
This release addresses multiple issues impacting search fields, Edit Entry behavior, logging of entry approval status changes, and other aspects of the plugin’s functionality.
Array instead of the correct value.gk/gravityview/view_collection/from_post/views filter to allow code to add Views to the Collection that are not found by the default logic, or modify the View Collection before it is returned.This update resolves issues with date filtering, lightbox display, and Edit Entry layout styling.
This update improves responsiveness and spacing in Layout Builder layouts, and fixes an issue that could prevent GravityKit settings from saving.
This release improves the handling of shortcodes and File Upload fields, and fixes an issue where a View would fail to render.
pdf to the allowed file extensions for the gk/gravityview/fields/fileupload/secure-links/allowed-extensions filter.secret attributes are clearer and can be dismissed globally.gv-template-{type} class to the outer containers of Layout Builder, List, and Table templates, enabling easier custom JS and CSS targeting.This update fixes widget display issues when embedding Views with page builders.
This release adds the ability to output column values from multi-column List fields using merge tag modifiers, notifies admins when users access pages with misconfigured shortcode secrets, and fixes issues with Checkbox field settings, Result Number sequencing, and a potential PHP error with Address fields.
{List:1:2:text}), enabling output of column values as an HTML list (default) or as a comma-separated string.secret attribute is missing or invalid.This release introduces a new 4-column Layout Builder option and lightbox support for the [gv_entry_link] shortcode, improves performance by disabling secure links for File Upload fields, and resolves various issues with filters, notifications, and file display on the Edit Entry screen.
lightbox attribute for the [gv_entry_link] shortcode to open the link in a lightbox.
action attribute values: read, edit.[gv_entry_link] shortcode.gk/gravityview/fields/fileupload/secure-links/bypass controls bypass per field/View/user;gk/gravityview/fields/fileupload/secure-links/allowed-extensions customizes allowed file types.GravityView_Entry_Link_Shortcode class in favor of the GVShortcodesgv_entry_link function.GravityView_Admin_Notices class in favor of the new notices functionality provided by Foundation.This release updates the View editor with new display options for Checkbox fields and Search Bar columns, enhances Magic Links validation and BuddyBoss/BuddyPress page support, and resolves issues affecting the Search Bar widget and Edit Entry screen.
gk/gravityview/admin-views/area/actions hook, which runs inside the View editor’s droppable areas and allows adding custom actions.This update improves Entry Notes and improves the default behavior for the Search Bar labels.
GravityView_Entry_Notes::get_note() in favor of GFAPI::get_note().This release introduces a flexible display format for checkbox fields, tightens Edit Entry security, and polishes File Upload presentation.
This update fixes several issues, including DIY Layout container tag selection, incorrect Time field value display, and various PHP warnings and deprecation messages.
This update adds support for displaying Views inside Jetpack CRM Client Portal Pro pages, fixes entry sorting on the Gravity Forms Entries page when filtering by approval status, and resolves Search Bar issues involving the Chained Selects Add-On and Approval Status search.
This hotfix resolves a display issue introduced in 2.42 affecting address subfields in the Search Bar widget, and fixes a fatal error related to the Image Hopper Post Image field.
This patch resolves a fatal error that could occur when using the plugin with older versions of Gravity Forms.
This update delivers a major overhaul of the Search Bar widget, offering significantly more flexibility in how search fields are displayed and configured, along with new developer features and improved template handling for easier customization.
search_visible_fields setting that restricts "Search Everything" searches to visible View fields.gk/gravityview/widget/search/visible_fields_only filter to modify whether "Search Everything" searches are limited for a View.$data attribute to GravityView_View::render() for setting a $data global in View templates.$data variable instead of $gravityview_view:
$gravityview_view->search_fields → $data['search_fields']$gravityview_view->permalink_fields → $data['permalink_fields']$gravityview_view->search_layout → $data['search_layout']$gravityview_view->search_mode → $data['search_mode']$gravityview_view->search_class → $data['search_class']$gravityview_view->search_clear → $data['search_clear']gk/gravityview/search/additional-reserved-args filter to add additional reserved arguments for the Search Bar widget.This release adds a GravityBoard widget for embedding boards in Views, resolves issues with block rendering and Chained Selects fields, fixes Single and Edit Entry not working in membership plugins, and alerts users to potential conflicts with Formidable Views.
requires and requires-not field setting conditional display were not working correctly for radio buttons.GVCommon::is_rest_request() method to check if the current request is a REST request, a clone of the wp_is_serving_rest_request() function.filemtime() instead of the plugin version, ensuring browsers always load the latest styles after updates.This release fixes issues with editing entries that include File Upload fields and downloading files with spaces in their filenames, corrects CSV export of Survey Add-On values, and adds support for the {get} merge tag inside the [gv_entry_link] shortcode.
{get} merge tag inside the [gv_entry_link] shortcode.This hotfix resolves a fatal error that occurred when updating the plugin from version 2.38 or earlier.
This update speeds up form loading in the View editor, fixes GravityEdit compatibility and translation issues in WordPress 6.8, and includes other fixes and improvements.
$forms array passed to the gravityview/metaboxes/data-source/before and gravityview/metaboxes/data-source/after filters now includes only form IDs as keys and titles as values, instead of full form objects.gk/gravityview/common/get_forms filter is no longer applied to forms shown in the Data Source dropdown.gk/gravityview/lightbox/entry/link filter to modify the markup of Single Entry and Edit Entry links that open in a lightbox.This release adds a new setting for Edit Entry locking and fixes issues with multi-page form entry editing, shortcode rendering inside the Layout Builder template, entry locking, and more.
[gv_entry_link] shortcode was not rendering inside the Custom Content field when using the Layout Builder template.gk/gravityview/edit-entry/user-can-edit-field filter to allow modifying field visibility in Edit Entry.This release enhances dialogs in the View editor, improves button and link positioning on the Edit Entry page, and resolves missing settings, embed issues in page builders, unsaved changes warnings, and more.
This update introduces a new notification event for duplicated entries, along with fixes and improvements to GravityView blocks, shortcodes, and Views using joined data from multiple forms.
[gravityview] shortcode not returning results when the search_value attribute value contains an apostrophe.GravityView > Edit Entry link in the top admin bar when editing an entry;This update adds random sorting to the GravityView block, improves how partial entries are handled, and fixes several issues, including a fatal error in Gravity Forms 2.9.3 or newer.
sort_direction shortcode attribute.This release fixes a PHP notice in WordPress 6.7+ and a display issue in Views using the Layout Builder template.
function _load_textdomain_just_in_time was called incorrectly PHP notice in WordPress 6.7 or newer.div tag in the Layout Builder View template.This update resolves multiple issues, including problems with search bar visibility in Layout Builder, entry management in multisite environments, and non-functional entry locking and notes, among others.
:format merge tag modifier with Date fields caused partial results to be returned.gk/gravityview/edit-entry/renderer/enqueue-entry-lock-assets filter to override whether to load the entry lock UI assets.gk/gravityview/edit-entry/renderer/entry-lock-dialog-markup filter to modify the entry locking UI dialog window markup.This release introduces the Layout Builder that allows creating custom layouts with rows and columns directly in the View editor, adds support for exporting entries by Approval Status, and includes various fixes and improvements.
:maxwords) not being processed.:format merge tag modifier.This update removes debugging code from the Entry Notes field.
This update removes debugging code from the Entry Notes field.
This release introduces support for the Source ID meta (Gravity Forms 2.9+), adds a new User Activation field to the View editor, and includes various fixes and enhancements.
:initials merge tag modifier for Name fields to display initials.:format merge tag modifier for field inputs (e.g., {Event Field:1.1:format:Y-m-d}).gravityview/template/field/csv/tick filter to programmatically modify the checkbox "check" output in CSV.gravityview/shortcode/after-processing action after a [gravityview] shortcode is finished.This release adds a new form notification option for updated entries, resolves file upload issues on the Edit Entry screen, and includes developer-focused enhancements.
gk/gravityview/view/entries/join-conditions filter to modify the join conditions applied when retrieving View entries.gk/gravityview/template/options filter to programmatically modify field settings in the View editor.gravityview/row-added JavaScript event, triggered when a new row is added to a widget or field area.This hotfix release resolves display issues with certain View layouts.
This release introduces flexible widget positioning in Views, enhances entry-in-a-lightbox functionality, and adds support for the Gravity Forms 2.9+ Image Choice field. It also addresses compatibility issues with LiteSpeed, Divi, and LifterLMS, along with various other fixes and improvements.
gk/gravityview/lightbox/entry/before-output action that fires before the entry content is output in the lightbox.gk/gravityview/lightbox/entry/output/head-before action that fires after the tag is opened.gk/gravityview/lightbox/entry/output/head-after action that fires before the tag is closed.gk/gravityview/lightbox/entry/output/content-before action that fires after the tag is opened and before the content is rendered.gk/gravityview/lightbox/entry/output/content-after action that fires after the content is rendered and before the footer.gk/gravityview/lightbox/entry/output/footer-after action that fires after the footer and before the closing tag.gravityview/fields/image_choice/image_markup filter to modify the Image Choice field (Gravity Forms 2.9+) markup.gravityview/fields/image_choice/output_label filter to control whether to display the value or label of an Image Choice field.This hotfix release resolves an issue with the Multiple Forms extension.
This release adds the ability to change the entry creator from the Edit Entry screen, improves upload handling, fixes various bugs, and updates internal components.
{now}, {yesterday}, and {tomorrow} relative date merge tags.This release introduces a much-requested lightbox feature for displaying and editing entries, settings for customizing View URLs, new options for displaying Name field initials and Custom Content fields in full width, and a merge tag modifier to show date field values in a human-readable format. Several bugs have also been fixed.
:human merge tag modifier for date fields to display in human-readable format (e.g., 10 minutes ago, 5 days from now).gk/gravityview/field/name/display filter to modify the Name field display value.gk/gravityview/permalinks/reserved-terms filter to modify the list of reserved terms that are excluded from permalinks.This update adds support for plain-text URLs in entry moderation merge tags, and fixes several bugs, including critical errors in the View editor. Starting with this version, PHP 7.4 or newer is required.
Note: GravityView now requires PHP 7.4 or newer.
{gv_approve_entry:url}).htmlspecialchars() and creating dynamic class properties.gk/gravityview/view/entries/query/sorting-parameters filter to modify the sorting parameters applied during the retrieval of View entries.This release fixes an issue with adding fields in the View editor's Edit Entry layout when the Multiple Forms extension is enabled.
This update resolves several issues related to the Multiple Forms extension, fixes the recently introduced :format merge tag modifier to return the Time field value in the local timezone, and adds a new filter to control which fields are added by default when creating a new View.
:format merge tag modifier on the Time field returned a UTC-adjusted time value.gk/gravityview/view/configuration/multiple-entries/initialize-with-all-form-fields filter that, when set to true, initializes the Multiple Entries layout with all form fields when creating a new View. The default is false, which populates the View with only the fields configured in the Gravity Forms Entries table.This update resolves various issues, including compatibility with Yoast SEO, improves performance through enhanced View entries caching, and adds new functionality.
{Date Field:1:format:Y-m-d}).[gv_entry_link] shortcode not rendering inside the Custom HTML block.gk/gravityview/feature/upgrade/disabled filter to disable the functionality placeholders. Return true to disable the placeholders.gk/gravityview/metabox/content/before and gk/gravityview/metabox/content/after actions, triggered before and after the View metabox is rendered.This update improves how entries are automatically marked as "Read" and adds a new View setting to control this functionality.
Note: GravityView now requires Gravity Forms 2.6 (released in March 2022) or newer.
gk/gravityview/field/is-read/print-script filter in favor of the improved functionality that marks entries as "Read".This release introduces the ability to use different view types for Multiple Entries and Single Entry layouts, adds a new View field to display an entry's read status, and fixes issues with the File Upload field, product search, and merge tag processing in entry-based notifications. Read the announcement for more details.
gk/gravityview/field/is-read/print-script filter to modify whether to print the script in the frontend that marks an entry as "Read".gk/gravityview/field/is-read/label filter to change the "Is Read" field's "Read" and "Unread" labels.gk/gravityview/entry-approval/choices filter to modify strings used for entry approval ("Approved", "Unapproved", "Disapproved", etc.).This update adds support for Nested Forms' entry meta, addresses several bugs, including critical ones, and improves GravityKit's Settings and Manage Your Kit screens.
gk/gravityview/entry/approval-link/params filter to modify entry approval link parameters.This release introduces support for search modifiers and range-based searching for numeric fields, enables easy duplication and precise insertion of View fields and widgets, and resolves critical issues with Yoast SEO and LifterLMS. Read the announcement for more details.
Developer Updates:
* gk/gravityview/common/quotation-marks filter to modify the quotation marks used for exact-match searches.
* gk/gravityview/search/number-range/step filter to adjust the interval between numbers in input fields for range-based searches.
This update fixes an issue with previewing GravityView blocks for Views with enhanced security and resolves a problem where blocks were previously rendered only for logged-in users.
secret shortcode attribute.This hotfix release addresses a critical error that occurred when activating the plugin without Gravity Forms installed.
This release enhances security, introduces support for LifterLMS, adds a new CSV/TSV export widget to the View editor along with the option to add Gravity Flow fields to the Search Bar, addresses PHP 8.2 deprecation notices, fixes a conflict with BuddyBoss Platform, and improves performance with updates to essential components.
secret attribute to shortcodes and blocks connected to Views.Foundation to version 1.2.11.
Added: You can now search exact-match phrases by wrapping a search term in quotes (e.g., "blue motorcycle"). This will search for text exactly matching "blue motorcycle")
Developer Updates:
gk/gravityview/widget/search/clear-button/params filter to modify the parameters of the Clear button in the search widget.This release enhances performance by optimizing caching and managing transients more effectively.
This release fixes an issue with View caching and improves compatibility with the Advanced Custom Fields plugin.
This release introduces new settings for better control over View caching, adds support for the Advanced Post Creation Add-On when editing entries, fixes a fatal error when exporting entries to CSV, and updates internal components for better performance and compatibility.
This update introduces the ability to send notifications using Gravity Forms when an entry is deleted, improves sorting and survey field ratings, and updates key components for better performance and compatibility.
Developer Updates:
GravityView_Notifications class as a wrapper for Gravity Forms notifications.GVView object as a second parameter for the gravityview/search-all-split-words and gravityview/search-trim-input filters.$( document.body ) instead of $('body') for speed improvements.Developer Updates:
gk_parent_entry_id and gk_parent_form_id entry meta added to them to better support connecting Views[gvlogic] shortcode now works with the Dashboard Views add-on in the WordPress admin areaDeveloper Updates:
gk/gravityview/approve-link/return-url filter to modify the return URL after entry approvalGravityView_Fields::get_all() method to allow for filtering by contextgravityview_get_connected_views() to prevent including joined forms in the searchGravityView_Field::$contexts property is now respected; if defined, fields that are not in a supported context will not renderDeveloper Notes:
gk/gravityview/view/entries/cache filter to provide control over the caching of View entries (default: true)Developer Notes:
get_gravityview() and the the_gravityview() global functionsGravityView_Field_Delete_Link class to render the Delete Entry link instead of relying on filtering
delete_link will now be properly returned in the GravityView_Fields::get_all('gravityview'); responseDeveloper Notes:
gk/gravityview/metaboxes/data-source/order-by filter to modify the default sorting order of forms in the View editor's data source dropdown menu (default: title)gk/gravityview/renderer/should-display-configuration-notice filter to control the display of View configuration notices (default: true)[gvlogic] not working when embedded in a Post or Page[gvlogic if="context" is="multiple"] not working when a View is embeddedDeveloper Notes:
gk/gravityview/common/get_forms filter to modify the forms returned by GVCommon::get_forms().hidden from compiled CSS files to prevent potential conflicts with other plugins/themes (use .gv-hidden instead)gvlogic-related shortcodes to the no_texturize_shortcodes array to prevent shortcode attributes from being encodingdiv.gform-settings__content.gform-settings-panel__content to match the Gravity Forms Survey Add-On 3.8 appearanceGFCommon::gv_vars() in the Edit View screenDeveloper Updates:
$context argument of GVTemplate_Context is now passed to GVWidgetpre_render_frontend()Note: GravityView now requires Gravity Forms 2.5.1 or newer
Developer Updates:
GVView_Collection::from_content()gravityview/view/get_entries/should_apply_legacy_join_is_approved_query_conditionsgravityview()->views->get() now parses the content of the global $post object and will detect View shortcodes or blocks stored in the $post->post_contentgravityview()->views->get() now may return a GVView_Collection object when it detects multiple Views in the content.hidden now use the .gv-hidden CSS class to prevent potential conflicts with other plugins/themesNote: GravityView now requires PHP 7.2 or newer
[gventry] shortcode not working the Entry ID is set to "first" or "last"Developer Updates:
gravityview/template/text/no_entries or gravitview_no_entries_text filters, the output is now passed through the wpautop() function prior to applying the filters, not after
$unformatted_output parameter to the gravityview/template/text/no_entries filter to return the original value before being passed through wpautop().gv-no-results.gv-no-results-text when set to "Show a Message".gv-no-results.gv-no-results-form when set to "Display a Form"templates/views/list/list-body.php, templates/views/table/table-body.php$form_id parameter to gravityview_get_directory_fields() function and GVCommon::get_directory_fields() methodalt text in File Upload fields[gventry] edit modeDeveloper Updates:
gravityview/template/field/survey/rating/before filter that fires before the Survey field rating stars markup$return_view parameter to GVRequest::is_view() method, reducing the need to build a GVView object when simply checking if a request is a View$expiration parameter to GravityView_Cache::set() method to allow for different cache lifetimesGravityView_Cache was not used when the WP_DEBUG constant was set to true. This resulted in the cache being effectively disabled on many sites.
GravityView_Cache::use_cache() once per requestGRAVITYVIEW_DISABLE_CACHE constant to disable the cache. Note: gravityview_use_cache filter will still be run.[gvlogic] with greater_than or less_than comparisonsDeveloper Updates:
gravityview/widget/search/append_view_id_anchor filter to control appending the unique View anchor ID to the search URL (enabled by default)gravityview/view/wrapper_container filter to wrap to optionally wrap the View in a container (enabled by default) — see examples of modifying the containergravityview/view/anchor_id filter to control the unique View anchor IDincludes/widgets/search-widget/templates/search-field-multiselect.phpincludes/widgets/search-widget/templates/search-field-select.phptemplates/views/list.phptemplates/views/table.phptemplates/fields/field-custom.phptemplates/fields/field-duplicate_link-html.phptemplates/fields/field-delete_link-html.phptemplates/fields/field-edit_link-html.phptemplates/fields/field-entry_link-html.phptemplates/fields/field-website-html.phptemplates/deprecated/fields/custom.phptemplates/deprecated/fields/website.php[gventry edit="1"] shortcode (learn more)Developer Updates:
redirect_url parameter to the gravityview/edit_entry/success filterredirect_url and back_link parameters to the gravityview/shortcodes/gventry/edit/success filterNote: We will be requiring Gravity Forms 2.5 and WordPress 5.3 in the near future; please upgrade!
Developer Updates:
input_{field ID} formats as well as filter_{field ID}; the following will both be treated the same:
/view/example/?filter_3=SEARCH/view/example/?input_3=SEARCHbody tag based on Gravity Forms version. See GravityView_Admin_Views::add_gf_version_css_class()Developer Updates:
GravityView_Image::get_image_extensions() static method to fetch full list of extension types interpreted as images by GravityView.webp as a valid image extensionDeveloper Updates:
gravityview/search/ignore-empty-values filter to control strict matching of empty field valuesDeveloper Updates:
gravityview/tab-ready jQuery trigger to body when each GravityView tab is ready (drag & drop initialized). See example of binding to this event.Fixed: Deprecated filter message when adding fields to the View
This would be a minor version update (2.13.5), except that we renamed many functions. See "Developer Updates" for this release below.
{is_starred} Merge Tag. Learn more about using {is_starred}Developer Updates:
We renamed all instances of blacklist to blocklist and whitelist to allowlist. All methods and filters have been deprecated using apply_filters_deprecated() and _deprecated_function(). See a complete list of modified methods and filters.
[gravityview] shortcodeDeveloper Updates:
gravityview/shortcode/before-processing action that runs before the GravityView shortcode is processedgravityview/edit_entry/cancel_onclick filter to modify the "Back" link onclick HTML attribute
/includes/extensions/edit-entry/partials/form-buttons.php file to add the filterDeveloper Updates:
GravityView_Admin_ApproveEntries::process_bulk_action to new GravityView_Bulk_Actions class.0 for hour and minute inputs, instead of displaying midnight (0:0), it would display the current timede_DE localization)Developer Updates:
gravityview/template/field/survey/glue filter to modify how the multi-row Likert field values are combined. Default: ;templates/deprecated/fields/time.php and templates/fields/field-time-html.php to include the commented strtotime() checkincludes/extensions/edit-entry/partials/form-buttons.php to add Cancel button enhancementsgravityview/search/sieve_choices didn't filter by Created ByGVUtils::get() didn't properly support properties available using PHP magic methods. Now supports overriding using the __isset() magic method.Developer Updates:
gravityview/fields/custom/form filter to modify form used as the source for View entriesgravityview/fields/custom/entry filter to modify entry being displayed[gvlogic] shortcode
&& to match all values [gvlogic if="abc" contains="a&&b"]|| to match any values [gvlogic if="abc" equals="abc||efg"]{site_url} Merge Tag that returns the current site URL. This can be helpful when migrating sites or deploying from staging to live./tsv/ to the View URLThe magic method must have public visibility appearing in PHP 8.0Undefined property: stdClass::$icons appearing on Plugins pageDeveloper Updates:
gravityview/lightbox/provider/fancybox/settingsGravityView_Lightbox_Provider abstract class (the Featherbox lightbox script is a good example).gravity_view_lightbox_script and gravity_view_lightbox_style filters in favor of gravityview_lightbox_script and gravityview_lightbox_style (finally!)gravityview_lightbox_script filter wasn't being appliedgravityview/fields/fileupload/allow_insecure_lightbox filter, since it's no longer needed$_GET args are now passed to links by default.
gravityview/entry_link/add_query_argsgravityview/delete-entry/add_query_argsgv_get_query_args() function to return $_GET query args, with reserved args removed
gravityview/api/reserved_query_args filter to modify internal reserved URL query argsfield-is_approved-html.php and field-is_approved-csv.php template files for the Is Approved fieldtemplates/fields/field-entry_link-html.php template to add gv_get_query_args() functionality.gv-list-view CSS class from the List layout container <div>. The CSS class was also used in the looped entry containers, making it hard to style. This issue was introduced in GravityView 2.0. For background, see the GitHub issue.{get} merge tag replacements in [gvlogic] attributes and contentDeveloper Updates:
gravityview/metaboxes/multiple_entries/after action to includes/admin/metabox/views/multiple-entries.php to allow extending Multiple Entries View settingsDeveloper Updates:
gravityview/search-trim-input filter to strip or preserve leading/trailing whitespaces in Search Bar valuesgravityview_date_created_adjust_timezone default is now set to false (use UTC value)Developer Updates:
/templates/fields/field-website-html.php and /templates/deprecated/fields/website.php to use new target=_blank logicGRAVITYVIEW_LICENSE_KEY was definedGravityView_Delete_Entry::set_entry()Developer Updates:
GLOB_BRACEDeveloper Updates:
GRAVITYVIEW_LICENSE_KEY constantGRAVITYVIEW_LICENSE_KEY constant{created_by} Merge Taggravityview/fields/fileupload/file_path filter{created_by} Merge Tag
{created_by} will now show details for a logged-out user (ID 0), instead of returning an unmodified Merge Tag{created_by} is passed without any modifiers, it now will return the ID of the user who created the entry{created_by} Merge Tag was passed without any modifiersDeveloper Updates:
gravityview/fields/textarea/allow_html filter to toggle whether Paragraph field output should allow HTML or should be sanitized with esc_html()gravityview/field/created_by/name_display filter for custom User Field output.gravityview/field/created_by/name_display/raw allow raw (unescaped) output for gravityview/field/created_by/name_display.gravityview/fields/gravatar/settings filter to modify the new Gravatar field's settingsgravityview/search/sieve_choices filter in Version 2.5 that enables only showing choices in the Search Bar that exist in entries (learn more about this filter)gravityview_get_forms() and GVCommon::get_forms() have new $order_by and $order parameters (Thanks, Rochelle!)gravityview/edit_entry/user_can_edit_entry and gravityview/capabilities/allow_logged_out were not reachable in Edit Entry and Delete Entry since Version 2.5Developer Updates:
input=hidden when no fields are configured in Edit Entry (fixing a regression in 2.5)gravityview/edit_entry/reveal_hidden_field filter is now falsegravityview/edit_entry/render_hidden_field filter to modify whether to render Hidden Field HTML in Edit Entry (default: true)GravityView_Edit_Entry_Locking::enqueue_scripts() visibility to protectedDeveloper Updates:
gravityview/duplicate/backend/enable filter to disable adding a "Duplicate" link for entriesgravityview/request/is_renderable filter to modify what request classes represent valid GravityView requestsgravityview/widget/search/form/action filter to change search submission URL as neededgravityview/entry-list/link filter to modify Other Entries links as neededgravityview/edit/link filter to modify Edit Entry link as neededgravityview_get_entry() and GVCommon::get_entry() require a View object as the fourth parameter. While the View will be retrieved from the context if the parameter is missing, it's important to supply it.GVCommon::check_entry_display now requires a View object as the second parameter. Not passing it will return an error.gravityview/common/get_entry/check_entry_display filter has a third View parameter passed from GVCommon::get_entryDeveloper Updates:
gravityview_lightbox_script and gravityview_lightbox_style filters.gravity_view_lightbox_script and gravity_view_lightbox_style filters. Use gravityview_lightbox_script and gravityview_lightbox_style instead.This is a big update! Lots of improvements and fixes.
<br /> tags by default[gventry edit="1"][gravityview] shortcode defines a sorting order[gv_pageviews] shortcode integration with the lightweight Pageviews pluginDeveloper Updates:
[gventry edit="1"] mode where edit entry shortcodes can be used now (experimental)gravityview/template/field/csv/glue filter to modify the glue used to separate multiple values in the CSV export (previously "n", now default is ';')gravityview/shortcodes/gventry/edit/success filter to modify [gventry] edit success messagegravityview/search/sieve_choices filter that sieves Search Widget field filter choices to only ones that have been used in entries (a UI is coming soon)gravityview/search/filter_details filter for developers to modify search filter configurationsgravityview/admin/available_fields filter for developers to add their own assignable fields to View configurationsgravityview/features/paged-edit A super-secret early-bird filter to enable multiple page forms in Edit Entry$form_id parameter for the gravityview_template_$field_type_options filtergravityview/security/require_unfiltered_html filter now has 3 additional parameters: user_id, cap and args.gravityview/gvlogic/atts filter for [gvlogic]gravityview/edit_entry/page/success filter to alter the message between edit entry pages.gravityview/approve_entries/update_unapproved_meta filter to modify entry update approval status.gravityview/search/searchable_fields/whitelist filter to modify allowed URL-based searches.unfiltered_html user capabilities being not enough to edit a Viewgform_after_update_entry filter after editing an entry. Full form will now be passed.[gvlogic2] and nested else issues
[gvlogic] shortcode has been rewritten for more stable, stateless behaviorGravityView_Entry_Notes::get_notes() can return null; cast $notes as an array in templates/fields/field-notes-html.php and includes/extensions/entry-notes/fields/notes.php template filesimage_width setting for File Upload images is now easily overrideablegravityview/gvlogic/parse_atts/after action is no longer available. See gravityview/gvlogic/atts filter insteadGVLogic_Shortcode class is now a lifeless stub. See GVShortcodesgvlogic.gravityview_get_current_view_data — use the GVView API insteadWe tightened security by limiting who can edit Views. Read how to grant Authors and Editors access.
{sequence} Merge Tag learn all about it!{date_updated} Merge Tag (see all GravityView Merge Tags)Developer Updates:
unfiltered_html capability can no longer edit Views.gravityview/security/allow_unfiltered_html to not require unfiltered_html. Dangerous!gravityview/template/field/address/csv/delimiter filter for CSV output of addressesDeveloper Updates:
strtolower() warnings in class-frontend-views.phpgravityview/fields/fileupload/link_atts filter didn't work on link-wrapped imagesDeveloper Updates:
gravityview/approve_entries/popover_placement filter to modify the placement of the approval popover (default: right)Gravity Forms 2.3 is required. Some functionality will not work if you are using Gravity Forms 2.2. If this affects you, please let us know
[gvlogic logged_in="true"] support to easily check user login status - read how it worksDeveloper Updates:
gravityview/search/created_by/text filter to override dropdown and radio text in "created by" search UIgravityview/approve_entries/after_submission filter to prevent is_approved meta from being added automatically after entry creationGVTemplate_ContextDeveloper Updates:
gravityview/edit_entry/before_update hookgravityview/api/field/key filter to customize the generated REST API entry JSON keysgravityview/template/csv/field/raw filter to allow raw output of specific fieldsDeveloper Updates:
gravityview_search_operator filter (the current GVView object)GravityView_Image::is_valid_extension() to determine whether an extension is valid for an imageDeveloper Updates:
widget-poll.php template to display poll results for all Multiple Forms fieldsgravityview/query/class filter to allow query class overrides, needed for Multiple Forms extensiongravityview/approve_entries/autounapprove/status filter to change the approval status set when an entry is modified in Edit Entry$unions property to GVView, for future use with Multiple Forms pluginDeveloper Updates:
GLOB_BRACE value for the glob() functiongravityview/entry/slug filter to modify entry slug. It runs after the slug has been generated by GravityView_API::get_entry_slug()GVEntry::is_multi() method to check whether the request's entry is a Multi_Entry (contains data from multiple entries because of joins)Developer Updates:
search-field-select.php template to gracefully handle array values%category% tag in the site's Permalinks settings)Developer Updates:
gravityview/template/table/use-legacy-style filter to use the legacy Table layout stylesheet without any responsive layout styles (added in GravityView 2.1) - Here's code you can usegravityview/view/can_render filter to allow you to override whether a View can be rendered or notgravityview/widgets/search/datepicker/format filter to allow you to modify only the format used, rather than using the gravityview_search_datepicker_class filter{date_created} Merge TagDeveloper Notes:
gravityview/shortcodes/gv_entry_link/output filter to modify output of the [gv_entry_link] shortcodegravityview/widget/page_size/settings and gravityview/widget/page_size/page_sizes filters to modify new Page Size widgetdata-label attributes to all Table layout cells to make responsive layout CSS-onlyGVView->can_render() method to reduce code duplicationgvid unless multiple Views embedded in a postarray_combine() on empty arraysaddslashes to View Configuration when saving, fixing {date_created} formatpost_id={id} (learn more)X-Item-Total header and meta to REST API responseDeveloper Notes:
gravityview/approve_entries/after_submission/default_status filter to modify the default status of an entry as it is created.is_approved entry meta when updating entry status - leave the value to be GravityView_Entry_Approval_Status::UNAPPROVED (3)GravityView_GFFormsModel::is_value_matchDeveloper Notes
data-viewid attribute to the Search Bar form with the current View IDgravityview/edit-entry/publishing-action/after actionDeveloper Notes
GVView::get_joins() method to fetch array of GVJoins connected with a ViewGVView::get_joined_forms() method to get array of GVGF_Forms connected with a View{get} Merge Tags to [gventry] and [gvfield] shortcodesDeveloper Notes
[gv_entry_link] when embedded in a post or page, not a View[gv_entry_link] returning a broken link when the entry isn't definedDeveloper Updates
gv_value() didn't have necessary View global data set for backward compatibility (gv_value() is now deprecated! Use Use GVField_Template::render() instead.)Developer Updates
:url for List fieldsDeveloper Updates
$gravityview_view->_current_field (don't use in new code!)[gv_entry_link] shortcode not working properly with DataTables when embedded[gravitypdf] shortcodeDeveloper Updates
GravityView_frontend::get_view_entries() search generationgravityview_get_template_settings() not returning settings[gravitypdf] shortcode[gravityview] shortcode, the page_size setting wasn't being respected[gravityview detail="last_entry" /] not returning the correct entryDeveloper Notes
GravityView_View::getInstance() not returning information about a single entrygravityview/shortcode/detail/$key filterWe are proud to share this release with you: we have been working on this release since 2016, and although most of the changes won’t be seen, GravityView has a brand-new engine that will power the plugin into the future! ��
- Zack with GravityView
Note: GravityView now requires PHP 5.3 or newer
This is a major release. Please back up your site before updating. We have tested the plugin thoroughly, but we suggest backing up your site before updating all plugins.
New functionality
[gventry]: embed entries in a post, page or a View (learn more)[gvfield]: embed single field values (learn more)Smaller changes
{gv_entry_link} Merge Tag, alias of [gv_entry_link] shortcode in {gv_entry_link:[post id]:[action]} format. This allows you to use {gv_entry_link} inside HTML tags, where you are not able to use the [gv_entry_link] shortcode.[gvlogic] comparison is now set to isnot=""; this way, you can just use [gvlogic if="{example:1}"] instead of [gvlogic if="{example:1}" isnot=""] to check if a field has a value.Developer Updates
This release is the biggest ever for developers! Even so, we have taken great care to provide backward compatibility with GravityView 1.x. Other than increasing the minimum version of PHP to 5.3, no breaking changes were made.
gravityview() API wrapper function, now used for easy access to everything you could want$context argument, a GVTemplate_Context objecttype="search"A special thanks to Gennady for your tireless pursuit of better code, insistence on backward compatibility, and your positive attitude. ��
[gvlogic] shortcode outputDeveloper Updates:
gravityview/edit_entry/reveal_hidden_field filter, which allows you to prevent Hidden fields from becoming Text fields in Edit Entry contextgravityview/edit_entry/field_visibility filter to set field visibility on Edit Entry (default is always "visible")tabindex not properly set for Update/Cancel/Delete buttons in Edit EntryDeveloper Updates:
$nl2br, $format, $aux_data parameters to GravityView_API::replace_variables() to be consistent with GFCommon::replace_variables()Yes, we skipped a minor release (1.22.4 exists only in our hearts). Thanks for noticing!
[gvlogic] shortcodes not in a Viewgravityview/capabilities/allow_logged_out filter wasn't living up to its name (allowing logged-out visitors to edit entries)Developer Updates:
gravityview/fields/fileupload/file_path filter in class-gravityview-field-fileupload.php!important from the CSS height rule for the .gv-notes .gv-note-add textarea ruleDeveloper Updates:
gravityview/edit_entry/unset_hidden_field_values filter to prevent deleting values for fields hidden by Conditional LogicStandalonePHPEnkoder.php[gravityview] shortcode inside ACF fieldsDeveloper Updates:
GravityView_HTML_Elements class for generating commonly-used HTML elementsgravityview/metaboxes/data-source/before and gravityview/metaboxes/data-source/after hooks$args param added to gravityview_get_connected_views() function$input_type to GravityView_Template::assign_field_options method= 1.22 on September 4, 2017=
Developer Updates:
list-header.php, list-single.php, table-header.php, table-single.phpGRAVITYVIEW_LICENSE_KEY constant is defined, it will always be used, and the license field will be disabledgv_empty() now returns false for an array with all empty valuesplugins_loadedfalsegravityview/fields/textarea/allowed_kses filter to modify the allowed HTML to be displayed.{current_post} Merge Tag adds information about the current post. Read more about it.gravityview/gvlogic/parse_atts/after action to modify [gvlogic] shortcode attributes after it's been parsed?cache to disable entries caching, cached data is removed0search_field and search_value settings in the [gravityview] shortcode
all when using these settingsDeveloper Updates:
gravityview() wrapper function. Instead, we will log errors via Gravity Forms logging.[gravityview] shortcodes in Advanced Custom Fields (ACF) fieldsoffset via the [gravityview] shortcodeDeveloper Updates:
GVCommon::check_entry_display() now returns WP_Error instead of false when an error occurs. This allows for additional information to be passed.gravityview/search-all-split-words filter to change search behavior for the "Search All" search input. Default (true) converts words separated by spaces into separate search terms. false will search whole word.gravityview() wrapper function behind the scenes. Getting closer to parity all the time.offset attribute in the [gravityview] shortcodeDeveloper Notes:
GVCommon::entry_has_transaction_data() to check whether entry array contains payment gateway transaction informationgravityview/edit_entry/hide-coupon-fields to modify whether to hide Coupon fields in Edit Entry (default: false)GravityView_frontend::get_view_entries_parameters() method to get the final entry search parameters for a View without fetching the entries as wellGVCommon::get_product_field_types() to fetch Gravity Forms product field types arraygravityview/edit_entry/field_blacklist filter to modify what field types should not be shown in Edit EntryGravityView_Plugin_Hooks_Gravity_Forms_Coupon classGravityView_Edit_Entry_Render parameter to gravityview/edit_entry/field_value, gravityview/edit_entry/field_value_{field_type} filters and gravityview/edit_entry/after_update actionlist-body.php and list-single.php template files to prevent empty <div> from rendering (and looking bad) when there are no fields configured for the zonesfields/product.php template filegravityview/edit_entry/hide-product-fields default will now be determined by whether entry has gateway transaction information--debug setting is defined, like phpunit --debug --verboseget_field_input() using GravityView_Field, returning empty value will now result in the default GF_Field input being usedpage=gf_entries&view=entry at the end of the URL (in case you noticed)get_gravityview()__Developer Notes: __
GravityView_Image class and fetching from a site with invalid SSL cert.gravityview_directory_link to modify the URL to the View directory context (in GravityView_API::directory_link())First update of 2017! We've got great things planned for GravityView and our Extensions. As always, contact us with any questions or feedback. We don't bite!
the_content filter outside normal places[gravityview] shortcode would not be parsed properly due to HTML encoding when using certain page builders, including OptimizePressde + de_DE) with each otherDeveloper Notes:
GVCommon::get_form_from_entry_id() now correctly fetches forms with any statusGravityView_Support_Port::get_related_plugins_and_extensions() to GV_License_Handler classinstall.sh bash script
/tmp/ is no longer created in the GravityView directory; it's installed in the server's /tmp/ directoryDeveloper Notes:
GravityView_View::getContextFields() method allows fetching the fields configured for each View context (directory, single, edit)
templates/list-body.php and templates/list-single.php to add a check for context fields before rendering$field_id as fourth argument passed to gravityview/extension/search/input_type filter$cap and $object_id parameters to GVCommon::generate_notice() to be able to check caps before displaying a noticeDeveloper Notes:
field-approval.css CSS file. Learn how to override the design here..gv-no-results CSS selector)get_bloginfo() usageUndefined index: is_active warning is shown when editing entries with User Registration Addon activegravityview/edit_entry/user_registration/trigger_update filterDeveloper Notes
is_approved entry meta values; statuses are now managed by the GravityView_Entry_Approval_Status class
1, use GravityView_Entry_Approval_Status::APPROVED constant2, use GravityView_Entry_Approval_Status::DISAPPROVED constant$new_value = GravityView_Entry_Approval_Status::maybe_convert_status( $old_value ) to reliably translate meta valuesGVCommon::get_entry_id() method to get the entry ID from a slug or IDgravityview_go_back_url filter to modify the link URL used for the single entry back-link in gravityview_back_link() functiongravityview/field/notes/wpautop_email filter to disable wpautop() on Entry Note emails$email_footer to the gravityview/field/notes/email_content filter contentnote-add-note.php template: added current-url hidden fieldlist-single.php template file: added .gv-grid-col-1-3 CSS class to the .gv-list-view-content-image containerDeveloper Notes
gravityview_get_directory_widgets(), gravityview_set_directory_widgets() wrapper functions to get and set View widget configurations$apply_filter parameter to GVCommon::get_directory_fields() function to set whether or not to apply the gravityview/configuration/fields filter[gvlogic] and other shortcodes now can be used inside Email field settings contentDeveloper Notes
gravityview_get_forms() function and GVCommon::get_forms() method to be compatible with GFAPI::get_forms(). Now accepts $active and $trash arguments, as well as returning all form data (not just id and title keys)template/fields/post_image.php file to use gravityview_get_link() to generate the anchor linkrel="noopener noreferrer" now added to all links generated using gravityview_get_link() with target="_blank". This fixes a generic security issue (not specific to GravityView) when displaying links to submitted websites and "Open link in new window" is checked - read more about it hereGravityView_Widget_Search::prepare_field_filter() - this fixes searching entry metagravityview_search_field_label parameter: $field - it's the field configuration array passed by the Search BarGravityView_Admin_View_Item, GravityView_Admin_View_Field, and GravityView_Admin_View_Widget to their own filesnl_NL translation file fixed& were not working+ were not working&post_id in [gravityview] shortcodeDeveloper Notes:
gravityview_view_saved action, triggered after a View has been saved in the admingravityview_get_link() to generate the anchor taggravityview/common/get_entry_id_from_slug/form_id filter to modify the form ID used to generate entry slugs, in order to avoid hash collisions with data from other formsGVCommon::send_email() functiongravityview_add_entry_notes, gravityview_view_entry_notes, gravityview_delete_entry_notes, gravityview_email_entry_notes):maxwords:{number} - Limit output to a set number of words:wpautop - Automatically add line breaks and paragraphs to content:timestamp - Convert dates into timestamp valuesgv-default-styles-rtl.css and list-view-rtl.css stylesheets)Developer Notes
list-single.php and list-body.php: changed #gv_list_{entry_id} to #gv_list_{entry slug}. If using custom entry slugs, the ID attribute will change. Otherwise, no change.list-body.php: Removed id attribute from entry title <h3>/gravityview/css/ sub-directorygravityview_css_url() function to check for overriding CSS files in templatesgravityview_use_legacy_search_style filter; return true to use previous Search Bar stylesheet<div>s now have additional CSS classes based on the input type: .gv-search-field-{input_type} where {input_type} is:search_all (search everything text box), link, date, checkbox (list of checkboxes), single_checkbox, text, radio, select,multiselect, date_range, entry_id, entry_dategv-search-date-range CSS class to containers that have date rangesgv-search-box-links CSS class from the <p> to the <div> container<label> for attribute was missing quotesgravityview/edit_entry/form_fields filter to modify the fields displayed in Edit Entry formgravityview/edit_entry/field_value_{field_type} filter to change the value of an Edit Entry field for a specific field typegravityview/edit-entry/render/before action, triggered before the Edit Entry form is renderedgravityview/edit-entry/render/after action, triggered after the Edit Entry form is renderedopen_basedir configurationsgravityview/delete-entry/delete-connected-post Filter to modify behavior when entry is deleted. Return false to prevent posts from being deleted or trashed when connected entries are deleted or trashed. See gravityview/delete-entry/mode filter to modify the default behavior, which is "delete".gravityview/edit_entry/post_content/append_categories filter to modify whether post categories should be added to or replaced?gravityview/common/get_form_fields filter to modify fields used in the "Add Field" selector, View "Filters" dropdowns, and Search Bargravityview/search/searchable_fields filter to modify fields used in the Search Bar field dropdownGVCommon::send_email(), a public alias of GFCommon::send_email()GravityView_Field_Notes class, with lots of filters to modify output$field_value parameter to gravityview_get_field_label() function and GVCommon::get_field_label() method$force parameter to GravityView_Plugin::frontend_actions() to force including files$entry to gravityview/delete-entry/trashed and gravityview/delete-entry/deleted actionssrc output a broken HTML <img> tagDeveloper Notes
gravityview/fields/custom/decode_shortcodes filter to determine whether to process shortcodes inside Merge Tags in Custom Content fields. Off by default, for security reasons.[gravityview] shortcodes sometimes not rendering inside page builder shortcodesDeveloper Notes:
templates/fields/date.php template to use new GravityView_Field_Date::date_display() method.gv-widgets-no-results and gv-container-no-results classes to the widget and View container <div>s. This will make it easier to hide empty View content and/or Widgets.gravityview/delete-entry/deleted) or trashed (gravityview/delete-entry/trashed).gravityview/search/method to change the default search method from GET to POST (hiding the search filters from the View url)gravityview/extension/search/select_default filter to modify default value for Drop Down and Multiselect Search Bar fields.gravityview_get_input_id_from_id() helper function to get the Input ID from a Field ID.Developer Notes:
gravityview/approve_entries/bulk_actions filter to modify items displayed in the Gravity Forms Entries "Bulk action" dropdown, in the "GravityView" <optgroup>gravityview/edit_entry/button_labels filter to modify the Edit Entry view buttons labels (defaults: Cancel and Update)gravityview/approve_entries/add-note filter to modify whether to add a note when the entry has been approved or disapproved (default: true)get_currentuserinfo() function usage[gravityview] parametersDeveloper Notes:
gravityview/widgets/container_css_class filter to modify widget container <div> CSS class
gv-widgets-{zone} class to wrapper ({zone} will be either header or footer)?action=delete is processed in the Admin (#624, reported by dcavins)icon CSS class name from the table sorting icon links. Now just gv-icon instead of icon gv-icon.display: inline-block instead of display: blockgravityview/common/get_entry/check_entry_display filter to disable validating whether to show entries or not against View filtersGravityView_API::replace_variables no longer requires $form and $entry argumentsDeveloper Notes:
gravityview_excerpt_more filter. Modify the "Read more" link used when "Maximum Words" setting is enabled and the output is truncated.
excerpt_more filter on textarea.php - many themes use permalink values to generate links.{date_created} The date an entry was created. Read how to use it here.{payment_date} The date the payment was received. Formatted using the same modifiers as {date_created}{payment_status} The current payment status of the entry (ie "Processing", "Pending", "Active", "Expired", "Failed", "Cancelled", "Approved", "Reversed", "Refunded", "Voided"){payment_method} The way the entry was paid for (ie "Credit Card", "PayPal", etc.){payment_amount} The payment amount, formatted as the currency (ie $75.25). Use {payment_amount:raw} for the un-formatted number (ie 75.25){currency} The currency with which the entry was submitted (ie "USD", "EUR"){is_fulfilled} Whether the order has been fulfilled. Displays "Not Fulfilled" or "Fulfilled"{transaction_id} the ID of the transaction returned by the payment gateway{transaction_type} Indicates the transaction type of the entry/order. "Single Payment" or "Subscription".Developer Notes:
get_content() method to some GravityView_Fields subclasses. We plan on moving this to the parent class soon. This allows us to not use /templates/fields/ files for every field type.GVCommon::format_date() function formats entry and payment dates in more ways than GFCommon::format_dategravityview_get_terms_choices() function generates array of categories ready to be added to Gravity Forms $choices arrayGVCommon::has_product_field() method to check whether a form has product fieldsadd_filter( 'gform_is_encrypted_field', '__return_false' ); before fetching entriesgv-container-{view id} CSS class to gv_container_class() function output. This will be added to View container <div>s$group parameter to GravityView_Fields::get_all() to get all fields in a specified groupgravityview_field_entry_value_{field_type}_pre_link filter to modify field values before "Show As Link" setting is applied$echo (boolean) to gv_container_class()$is_sortable GravityView_Field variable to define whether a field is sortable. Overrides using the gravityview/sortable/field_blacklist filter.gv_container_class() didn't return valuegravityview_sanitize_html_class()<h4> label container output in List layout, even when "Show Label" was uncheckedGravityView_View->getCurrentEntry() in DataTables extensiongravityview/sortable/formfield_{form}_{field_id} filter detailed heregravityview/sortable/field_blacklist filter docBlock fixedmax-width: 50% for div.gv-list-view-content-imagegv_selected() to helper-functions.php from class-api.phpDeveloper Notes:
gravityview/fields/fileupload/link_atts filter available when not using lightbox with File Uploads fieldincludes/fields/class.field.php => includes/fields/class-gravityview-field.phpincludes/class-logging.php => includes/class-gravityview-logging.phpincludes/class-image.php => includes/class-gravityview-image.phpincludes/class-migrate.php => includes/class-gravityview-migrate.phpincludes/class-change-entry-creator.php => includes/class-gravityview-change-entry-creator.phpgravityview/delete-entry/verify_nonce Override Delete Entry nonce validation. Return true to declare nonce valid.gravityview/entry_notes/add_note filter to modify GravityView note properties before being addedgravityview_post_type_supports filter to modify gravityview post type support valuesgravityview_publicly_queryable filter to modify whether Views be accessible using example.com/?post_type=gravityview. Default: Whether the current user has read_private_gravityviews capability (Editor or Administrator by default){get} Merge Tags as [gravityview] attributes{embed_post:post_title}<label>s[gravityview] shortcode. This fixes issues with some themes and page builder plugins.has_gravityview_shortcode() function{created_by:roles} Merge Tag to available tags dropdowngravityview_sanitize_html_class() functionGravityView_Merge_Tags::replace_get_variables() method publicGravityView_Merge_Tags::_gform_replace_merge_tags() method GravityView_Merge_Tags::replace_gv_merge_tags() for clarity{get} Merge Tag that allows passing data via URL to be safely displayed in Merge Tags. Learn how this works.
?first-name=Floaty to a URL, the Custom Content My name is {get:first-name} would be replaced with My name is Floatygravityview_moderate_entries capability (defaults to Editor role or higher)[gv_entry_link] shortcode to link directly to an entry. Learn more.
[gv_delete_entry_link] and [gv_edit_entry_link] shortcodes will continue to worknumber_format() PHP warning on blank Number fields{created_by} merge tags weren't being escaped using esc_html()Call to undefined method GF_Field::get_input_type()bbp_setup_current_user() warninggravityview_is_admin_page() wasn't recognizing the Settings page as a GravityView admin pageGravityView_Entry_Notes classgravityview/support_port/display filter to enable/disable displaying Support Portgravityview/support_port/show_profile_setting filter to disable adding the Support Port setting on User Profile pagesgravityview/admin/display_live_chat filtergravityview_settings_capability filter{created_by:roles} Merge Tag{all_fields_display_empty} Gravity Forms merge taggravityview to allow for better searchability[gravityview] shortcodes)gravityview/delete-entry/mode filter. When returning "trash", "Delete Entry" moves entries to the trash instead of permanently deleting them.gravityview/admin/display_live_chat filter to disable live chat widgetgravityview/delete-entry/message filter to modify the "Entry Deleted" message contentdetail parameter to the [gravityview] shortcode. Learn morecontext parameter to the [gvlogic] shortcode to show/hide content based on current mode (Multiple Entries, Single Entry, Edit Entry). Learn moregravityview/edit_entry/pre_populate/override filtergravityview_is_hierarchical filter to enable defining a Parent Viewgravityview/merge_tags/do_replace_variables filter to enable/disable replace_variables behaviorgravityview/edit_entry/verify_nonce filter to override nonce validation in Edit Entrygravityview_strip_whitespace() function to strip new lines, tabs, and multiple spaces and replace with single spacesgravityview_ob_include() function to get the contents of a file using combination of include() and ob_start()get_entries()[gvlogic]gravityview/common/sortable_fields filter to override which fields are sortableGravityView_Plugin::$theInstance private and renamed it to GravityView_Plugin::$instance. If you're a developer using this, please use GravityView_Plugin::getInstance() instead.[gvlogic][gvlogic]gravityview/edit_entry/cancel_linkgravityview/field/other_entries/args was replaced by "gravityview/field/other_entries/criteria". If you are using this filter, please contact support before updating so we can help you transition[gv_edit_entry_link] and [gv_delete_entry_link] shortcodes. Read how to use themgravityview/edit-entry/hide-product-fields filter to gravityview/edit_entry/hide-product-fields for consistencygravityview/edit_entry/hide-product-fields filter{created_by} Merge Tag that displays information from the creator of the entry (learn more)list-single.php templatelist-single.php templatelist-single.php, table-body.php, table-single.php templates to use GravityView_View->getFields() method[gvlogic] shortcode now properly handles comparing empty values.
[gvlogic if="{example} is=""] to determine if a value is blank.[gvlogic if="{example} isnot=""] to determine if a value is not blank.gravityview/sorting/address filter to modify what data to use (here's how){ in a field that has Merge Tags enabled and you will get autocomplete?)gravityview_widget_search_filters filter that passes the search widget argumentsgravityview/approve_entries/updated - Approval status changed (passes $entry_id and status)gravityview/approve_entries/approved - Entry approved (passes $entry_id)gravityview/approve_entries/disapproved - Entry disapproved (passes $entry_id)add_query_arg / remove_query_arg. Read more about itANY mode) with complex fields types like checkboxesgravityview/field/other_entries/args filter to modify arguments used to generate the Other Entries list. This allows showing other user entries from any View, not just the current viewgravityview/render/hide-empty-zone filter to hide empty zone. Use __return_true to prevent wrapper <div> from being rendered[gvlogic] Shortcode - allows you to show or hide content based on the value of merge tags in Custom Content fields! Learn how to use the shortcode.ANY mode for filters)gravityview/sorting/full-name filter to sort by last name (see how)date_i18n instead of date)gravityview_disable_change_entry_creator filter to disable the Change Entry Creator functionalitygravityview_has_archive filter to enable View archive (see all Views by going to [sitename.com]/view/)GravityView_API::entry_link() method:
$add_directory_args boolean True: Add URL parameters to help return to directory; False: only include args required to get to entryentry endpoint even when not using rewritesGravityView_View->_current_entry after the View is displayed (fixes issue with Social Sharing Extension, coming soon!)search_value not filtering correctlygravityview_get_entries()list-body.php template$post after Live Post Data is displayedgravityview/field_output/args filter to modify field output settings before renderingthe_gravityview() template taggravityview/fields/email/javascript_required filter to modify message displayed when encrypting email addresses and Javascript is disabledGFCommon:js_encrypt() method to encrypt text for Javascript email encryptiongravityview/get_all_views/params filter restored (Modify Views returned by the GVCommon::get_all_views() method)the_content WordPress filter which will trigger the Video embed (read how)gravityview_get_link() function to standardize generating HTML anchorsGravityView_API::entry_link_html() method to generate entry link HTMLgravityview_field_entry_value_{$field_type} filter to modify the value of a field (in includes/class-api.php)field_type key has been added to the field data in the global $gravityview_view->field_data arrayGravityView_View_Data::maybe_get_view_id() method to determine whether an ID, post content, or object passed to it is a View or contains a View shortcode.gravityview/render/entry/not_visiblegravityview_widget_search_filters the labels for search all, entry date and entry id.gravityview/comments_open filter to modify whether comments are open or closed for GravityView posts (previously always false)gravityview/edit_entry/successincludes/css/, includes/js/ and /images/ folders into /assets/wp-config.php (Read how here)$post_id parameter as the second argument for the gv_entry_link() function. This is used to define the entry's parent post ID.GravityView_API::get_entry_id_from_slug() to GVCommon::get_entry_id_from_slug()gravityview_get_entry(), which forces the ability to fetch an entry by ID, even if custom slugs are enabled and gravityview_custom_entry_slug_allow_id is false.example.co.uk or example.gov.za)/entry/123, you can now use entry values in the URL, like /entry/{company name}/ or /entry/{first name}-{last name}/. Requires some customization; learn more herepost_id parameter. This accepts the ID of the page where the View is embedded.$add_pagination parameter to GravityView_API::directory_link(){all_fields} and {pricing_fields} Merge Tags in Custom Content field. See examples of how to use these fields.mod_security issues. Learn more heregravityview_search_field_label filter to allow modifying search bar labelsgravityview_get_entries()tr to tr_TR to match WordPress locales/templates/fields/textarea.php filegravityview_get_map_link() function with gravityview_map_link filter. To learn how to modify the map link, refer to this how-to articlegravityview instead of gravity-viewwpautop() functiongravityview_video_settings and gravityview_audio_settings filters to modify the parameters passed to the shortcode<span class="gv-field-label"> tags no longer output
gv_field_label() no longer returns the label with a trailing space. Instead, we use the .gv-field-label CSS class to add spacing using CSS padding..bmp, .jpe, .tiff, .ico/templates/fields/fileupload.php file - removed the logic for how to output the different file types and moved it to the gravityview_get_files_array() function in includes/class-api.phpgv_value() no longer needs the $field parameter.gv-edit-entry-wrapper .dashicons CSS class.template/fields/date_created.php filegravityview_date_created_adjust_timezone filter to disable timezone support and use UTC (returns boolean)get_settings() and get_setting() methods to the GravityView_Widget class. This allows easier access to widget settings.gravityview_js_localization filter to add Javascript localizationgravityview_datepicker_settings filter to modify the datepicker settings using the setting names from the jQuery DatePicker optionsgravityview_entry_class filter to modify the CSS class for each entry wrappergravityview_widget_search_filters filter to allow reordering search filters, so that they display in a different order in search widgetgravityview_default_page_size filter to modify default page size for Views (25 by default)list-body.php template file:
gravityview_list_body_before: Before the entry outputgravityview_entry_before: Inside the entry wrappergravityview_entry_title_before, gravityview_entry_title_after: Before and after the entry title and subtitle outputgravityview_entry_content_before, gravityview_entry_content_after: Before and after the entry content area (image and description zones)gravityview_entry_footer_before, gravityview_entry_footer_after: Before and after the entry footergravityview_entry_after: Before the entry wrapper closing taggravityview_list_body_after: After entry outputgravityview_get_entry_ids() function to fetch array of entry IDs (not full entry arrays) that match a search resultGravityView_frontend::hide_field_check_conditions() and GravityView_frontend::filter_fields() methodsget_cap_choices() method to be used for fetching GravityView roles arraygravityview_field_output() function to generate field output.gravityview_page_links_args filter to modify the Page Links widget output. Passes standard paginate_links() arguments.list-body.php and list-single.php template files - field output are now generated using the gravityview_field_output() functiongravityview_get_entry() to use GFAPI::get_entries() instead of GFAPI::get_entry()gravityview_get_entries()GravityView_View_Data::get_default_args() instead of duplicating the settings arrays. Used for tooltips, insert shortcode dialog and View metaboxes.GravityView_View_Data::add_view()GravityView_Admin_Views::render_select_option() to use the key as the value and the value as the label instead of using associative array with value and label keys.post_content fieldsgravityview_hide_empty_fields filtersgravityview_search_operator filter to modify the search operator used by the search.gravityview_search_criteria filter to modify all search criteria before being passed to Gravity Formsclass-post-types.php include file to handle post type & URL rewrite actions.gv_class()[example][gravityview][/example])GravityView_Admin_Views::is_gravityview_admin_page() to fetch post if not yet set.0 on pagination links to override theme conflictsgv_class() calls to pass form and entry fields to allow for merge tagsclass attribute sanitizer functiongravityview_sanitize_html_class$User->ID instead of $User->id in Name fieldstooltip parameter. Uses the Gravity Forms tooltip array key.id in Edit Viewmerge_classclass-ajax.phpclass-metabox.phpdisplay by default. Can be overridden by using the filter gravityview_datatables_table_classform item to global $gravityview_view data instead of looking it up in functions. Improves gv_value() and gv_label() speed.replace_variables() method to GravityView_API to reduce time to process merge tags by checking if there are any curly brackets first.search_field parameter to the shortcode. This allows you to specify a field ID where you want the search performed (The search itself is defined in search_value)It's an Example was displaying as It's an Example)$var variable - not data is stored directly as object parameters.gravityview_field_visibility_caps filter to add/remove capabilities from the field dropdowns