Docs & Support

Learn about all the Formidable features and get support from our amazing customer success team.

frm_update_entry

This hook allows you to do something with the data entered in a form before it is updated.

Usage

add_filter('frm_update_entry', 'frm_updated_at');
function frm_updated_at( $new_values )

Parameters

  • $new_values (array)

Examples

Prevent 'Updated-At' From Updating on CSV Import

By default, whenever a CSV file is imported and form entries are updated, the "updated-at" timestamp is updated as well. The example below can be used to prevent the "updated-at" timestamp from being updated.

add_filter('frm_update_entry', 'frm_updated_at');
function frm_updated_at( $new_values ){
  if ( defined( 'WP_IMPORTING' ) && WP_IMPORTING ) {
    unset( $new_values['updated_at'] );
  }
  return $new_values;
}

Change Log

Since 2.0.16

Was this article helpful? *

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

In this article

    We have a small, but amazing team of dedicated people who are committed to helping you achieve your goals and project requirements.


    Copyright © 2025 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.

    Complete your purchase
    Special offer unlocked.
    Get 55% OFF!
    Complete Purchase
    Join 400,000+ using Formidable Forms to create form-focused solutions fast. Get Formidable Forms