Skip to content
GravityKit
Buy
Sign in
0 items

GravityKit All Access

Perform advanced calculations on your form data. Display the number of form submissions, build calculators, and much more.

  • GravityView

    GravityView

    Bestseller

    Display Gravity Forms entries on the front-end of your site and build powerful web applications.

  • GravityImport

    GravityImport

    Trending

    Import entries from CSV files into Gravity Forms to transfer data, create new forms, or update existing entries.

  • GravityEdit

    GravityEdit

    Quickly edit Gravity Forms entries inline to save time, reduce clicks, and streamline your workflow.

  • GravityCharts

    GravityCharts

    Trending

    Turn Gravity Forms entries into interactive charts and graphs.

  • GravityActions

    GravityActions

    Update multiple Gravity Forms entries at once, send bulk emails, and streamline your workflow.

  • GravityCalendar

    GravityCalendar

    Turn Gravity Forms entries into dynamic calendars to showcase events, schedules, appointments, and more.

  • GravityExport

    GravityExport

    Export Gravity Forms entries to Excel, CSV, or PDF and share them instantly with secure download links.

  • GravityMath

    GravityMath

    Perform advanced calculations on Gravity Forms entries to display totals, averages, or build custom calculators.

  • GravityRevisions

    GravityRevisions

    Track, compare, and restore changes made to Gravity Forms forms and entries with a full version history.

  • GravityMigrate

    GravityMigrate

    Migrate all Gravity Forms data, including forms, entries, Views, feeds, uploads, and more.

  • GravityBoard

    GravityBoard

    Manage projects with collaborative project management. Coordinate with your team and streamline your workflows.

Use cases

  • Nonprofits
  • Startups
  • Education
  • Web Agencies
  • Developers
  • Government iconGovernment

Case studies

  • Princeton University
  • BrightLeaf Giving
  • Jacksonville Port Authority
  • National Severe Storms Lab
  • Leadpal
  • Mediebruket
  • Dragonfly
  • HappyTree It
View All Case Studies

  • Blog
  • Case studies
  • Support
  • Live Demos
  • Documentation ↗
  • Developer docs ↗
  • GravityKit Academy ↗
  • GravityKit Live!

Build-it guides

  • Member Directory
  • Company Intranet
  • Fundraising Dashboard
  • Real Estate Directory
  • Document Library
  • Academic Journal
  • Volunteer Management
  • Meal Tracker
  • Simple CRM System
View All Guides
  • Pricing
  • About
  • Plugins

    GravityKit All Access

    Our complete Kit of essential tools for extending and enhancing Gravity Forms—everything you need to build powerful web apps and workflows.

    Learn more
    • GravityView

      GravityView

      Bestseller

      Display Gravity Forms entries on the front-end of your site and build powerful web applications.

    • GravityImport

      GravityImport

      Trending

      Import entries from CSV files into Gravity Forms to transfer data, create new forms, or update existing entries.

    • GravityEdit

      GravityEdit

      Quickly edit Gravity Forms entries inline to save time, reduce clicks, and streamline your workflow.

    • GravityCharts

      GravityCharts

      Trending

      Turn Gravity Forms entries into interactive charts and graphs.

    • GravityActions

      GravityActions

      Update multiple Gravity Forms entries at once, send bulk emails, and streamline your workflow.

    • GravityCalendar

      GravityCalendar

      Turn Gravity Forms entries into dynamic calendars to showcase events, schedules, appointments, and more.

    • GravityExport

      GravityExport

      Export Gravity Forms entries to Excel, CSV, or PDF and share them instantly with secure download links.

    • GravityMath

      GravityMath

      Perform advanced calculations on Gravity Forms entries to display totals, averages, or build custom calculators.

    • GravityRevisions

      GravityRevisions

      Track, compare, and restore changes made to Gravity Forms forms and entries with a full version history.

    • GravityMigrate

      GravityMigrate

      Migrate all Gravity Forms data, including forms, entries, Views, feeds, uploads, and more.

    • GravityBoard

      GravityBoard

      Manage projects with collaborative project management. Coordinate with your team and streamline your workflows.

  • Ideal For

    • Nonprofits
    • Startups
    • Education
    • Web Agencies
    • Developers
    • Government iconGovernment

    Case studies

    • Princeton University
    • BrightLeaf Giving
    • Jacksonville Port Authority
    • National Severe Storms Lab
    • Leadpal
    • Mediebruket
    • Dragonfly
    • HappyTree It
    View All Case Studies

    How to build...

    • Member Directory
    • Company Intranet
    • Fundraising Dashboard
    • Real Estate Directory
    • Document Library
    • Academic Journal
    • Volunteer Management
    • Meal Tracker
    • Simple CRM System
    View All Guides
  • Resources

    • Blog
    • Case studies
    • Support
    • Live Demos
    • Documentation ↗
    • Developer docs ↗
    • GravityKit Academy ↗
    • GravityKit Live!

    Build-it guides

    • Member Directory
    • Company Intranet
    • Fundraising Dashboard
    • Real Estate Directory
    • Document Library
    • Academic Journal
    • Volunteer Management
    • Meal Tracker
    • Simple CRM System
    View All Guides
  • Pricing
  • About
0 items

Search

Results appear automatically as you type.
Loading results…

results found matching

    Sign in
    Buy

    Docs

    • Docs Home

    Gravity Forms Add-Ons

    • GravityView
    • GravityBoard
    • GravityImport
    • GravityEdit
    • GravityExport
    • GravityExport Lite
    • GravityMath
    • GravityCalendar
    • GravityCharts
    • GravityActions
    • GravityRevisions
    • GravityMigrate
    • GF Dynamic Lookup
    • GF Entry Tags
    • GF Event Field
    • GF Widget for Elementor
    • GF Zero Spam

    GravityView

    • Getting Started
    • View Setup
    • FAQ
    • Pre-Sale
    • Advanced
    • Common Problems
    • Customizing Your Views
    • Edit Entry
    • Entry Approval
    • Filter and Sort Results
    • Gravity Forms
    • Merge Tags
    • Roles and Capabilities
    • Search
    • Shortcodes
    • View Settings
    • WordPress Posts

    General Help

    • Account, Invoices, and Billing
    • License Related
    • Plugins and Settings
    • Contact
    • Docs Home
    • Gravity Forms Add-Ons

      • GravityView
      • GravityBoard
      • GravityImport
      • GravityEdit
      • GravityExport
      • GravityExport Lite
      • GravityMath
      • GravityCalendar
      • GravityCharts
      • GravityActions
      • GravityRevisions
      • GravityMigrate
      • GF Dynamic Lookup
      • GF Entry Tags
      • GF Event Field
      • GF Widget for Elementor
      • GF Zero Spam
    • GravityView

      • Getting Started
      • View Setup
      • FAQ
      • Pre-Sale
      • Advanced
      • Common Problems
      • Customizing Your Views
      • Edit Entry
      • Entry Approval
      • Filter and Sort Results
      • Gravity Forms
      • Merge Tags
      • Roles and Capabilities
      • Search
      • Shortcodes
      • View Settings
      • WordPress Posts
    • General Help

      • Account, Invoices, and Billing
      • License Related
      • Plugins and Settings
    • Contact

    GravityRevisions

    • (Advanced) How to modify what fields are shown in GravityRevisions
    • (Advanced) How to tell if an entry is a revision in PHP
    • Developer hooks for GravityRevisions
    • Getting started with GravityRevisions
    • GravityRevisions Merge Tags
    • GravityRevisions: How to send form notifications after an entry has been deleted
    • GravityRevisions: How to send form notifications after an entry has been updated
    • How to display entry revisions on your website
    • How to restore field values with the GravityRevisions plugin
    • Is there a way to recover edits to an entry before I installed the GravityRevisions plugin?
    • Using GravityRevisions to track & restore changes to a Gravity Forms form
    • Home
    • Docs
    • GravityRevisions
    • Developer hooks for GravityRevisions

    Developer hooks for GravityRevisions

    Estimated reading: 4 minutes

    Updated on April 27, 2026

    This is a list of developer filters available in the GravityRevisions plugin. They use WordPress’ add_filter() function.


    gravityview/entry-revisions/list-html/output

    Filters the output for the revisions list HTML.

    type parameter description
    string $output If the entry is not found, outputs “revision not found” message. On “Entry Details” pages where the current entry is a revision, the output is a link to the entry comparison.
    array $entry The entry connected to the displayed revisions.
    array $revisions Array of revisions being rendered by the method.

    gravityview/entry-revisions/revision-title

    Filters the revision title, which is used when rendering the revision list and the comparison (“diff”) table caption.

    type parameter description
    string $revision_title Existing revision title
    array $revision The revision entry array
    array $revision_details Additional information used in the title, passed as associative array. Keys include format, gravatar, author, date, current_entry

    gravityview/entry-revisions/diff-ignored-keys

    Specify the field IDs and meta keys to not display in the diff table

    type parameter description
    array $ignored_keys Array of field and meta keys, like [ "id", "date_updated", "1.2" ]
    array $form The form connected to the entry/revision diff being displayed

    gravityview/entry-revisions/restore/remove-gf-hooks

    Modify whether to remove Gravity Forms hooks when restoring an entry.

    type parameter description
    bool $remove_hooks Whether to remove Gravity Forms hooks when restoring an entry. [Default: true]
    int $entry_id ID of entry being restored to

    gravityview/entry-revisions/restore/add-new

    Modifies whether—when creating a revision—a new revision should be created with the prior state.

    type parameter description
    bool $add_new Should a new revision be created based on the entry before the restoration? [Default: true]
    array $prior_entry Entry before restoring values
    array $new_entry Current entry, after restoring values

    gravityview/entry-revisions/restore/delete-after

    Modifies whether a revision should be deleted after it has been restored.

    type parameter description
    bool $remove_after_restore Should a revision be deleted after restoration? [Default: false]
    int $revision_id ID of revision being restored
    int $entry_id ID of connected entry

    gravityview/entry-revisions/diff-row-args

    Modify how the diff rows are rendered.

    type parameter description
    array $diff_row_args

    Args passed to GV_Entry_Revisions::text_diff_row().

    • string $empty_value Value shown when a row is empty
    • string $row_label Label for the row
    • bool$show_inputs Whether to show the radio buttons used to restore a revision
    array $context

    Additional information about the current row being rendered.

    • GF_Field $field Field being rendered
    • string $label Label of the field being rendered
    • string $key Input ID of the field being rendered

    Example:

    /**
     * Modify the "No Value" message in the comparison table when there was nothing set for the field
     */
    add_filter( "gravityview/entry-revisions/diff-row-args", function( $diff_row_args ) {
      
      $diff_row_args["empty_value"] = "null"; // Previously: "<em>No Value</em>"
      
      return $diff_row_args;
    } );

    gravityview/entry-revisions/show-filter-links

    In Gravity Forms’ Entry List table, there are filter links to filter entries. By default, the plugin adds an “Entry Revisions” link. Use this filter to disable adding that link by returning false.

    type parameter description
    bool $show_filter_links True: show the “approved”/”disapproved” filter links. False: hide them. [Default: true]
    array $form Gravity Forms form object of the current form

    Example:

    add_filter( "gravityview/entry-revisions/show-filter-links", "__return_false" );

    gravityview/entry-revisions/embed-css

    Modify whether to include embedded <style> HTML tag with inline CSS rules with the output of the {entry_revision_diff} Merge Tag.

    type parameter description
    bool $embed_css Whether to embed the CSS tag. [Default is determined by whether a notification is currently being sent]

    gravityview/entry-revisions/send-notifications

    Whether to trigger or suppress send notifications when an entry revision is added. (Added in 1.0.2)

    type parameter description
    bool $send_notification Should a notification be sent when a revision is created? [Default: true]
    array $revision_to_add The new revision added
    array $current_entry The replaced entry
    array $changed_fields The new entry, with only the changed fields
    Still stuck? How can we help?

    How can we help?

    "*" indicates required fields

    This field is for validation purposes and should be left unchanged.
    Replies will go to this email.
    How can we help?*
    My pre-sale question is related to...*
    My WordPress skills are....*
    My Gravity Forms skills are...*
    You will be shown articles from our documentation.
    Vous pouvez nous écrire dans votre langue maternelle si c’est plus facile pour vous—nous nous occuperons de la traduction!
    Puedes escribirnos en tu idioma nativo si te resulta más fácil; ¡nosotros nos encargamos de la traducción!
    Sie können uns in Ihrer Muttersprache schreiben, wenn das für Sie einfacher ist – wir kümmern uns um die Übersetzung!
    U kunt ons in uw moedertaal schrijven als dat gemakkelijker voor u is — wij zorgen voor de vertaling!
    Du kan skrive til oss på ditt morsmål hvis det er enklere for deg — vi tar oss av oversettelsen!
    Du kan skriva till oss på ditt modersmål om det är lättare för dig — vi tar hand om översättningen!
    Você pode nos escrever em seu idioma nativo se for mais fácil para você — nós cuidaremos da tradução!
    Puoi scriverci nella tua lingua madre se ti è più facile — penseremo noi alla traduzione!
    Please provide as much detail as you're able; this helps us provide you with faster support.
    Drop files here or
    Accepted file types: jpg, jpeg, gif, png, tiff, pdf, bmp, zip, json, csv, xls, xlsx, Max. file size: 256 MB.
      Stay informed?

      Was this page helpful?

      GravityKit
      • How to Build It
      • Pricing
      • Products
      • Our Team
      • Our Values
      • Work With Us
      • Coupons
      Support
      • Support
      • Contact
      • Documentation
      • Scope of Support
      • Brand Guidelines
      • Privacy Policy
      • Terms of Service (“Terms”)
      About Us
      • GravityKit on Mastodon
      • GravityKit on Twitter
      • GravityKit Training Courses
      • GravityKit on Facebook
      • Join our Facebook Group
      • Facebook
      • Twitter
      Get notified of updates.

      We’re constantly improving GravityKit. Fill out your email below and we’ll notify you anytime major updates drop.

      GravityKit is a Gravity Forms Certified Developer.

      Copyright © 2026, Katz Web Services, Inc.

      GravityKit and GravityView are registered trademarks of Katz Web Services, Inc.