• Skip to main content
  • Skip to primary sidebar

Supplemental Resources

Just The Tech, News, and Info We Deem To Post

  • Home
  • Home
  • Home
  • Home
  • Home
  • Home
  • Home
  • Home
  • Home
  • About
  • About
  • About
  • About
  • About
  • About
  • About
  • About
  • About
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • WordPress
  • Marketing
  • Business
  • Computing
  • Security
  • Publicity
  • Resources
  • WHATEVS

Add A Conditional Timestamp in Gravity Forms

WordPress Logo with Two Electrical Plugs to Symbolize WP Plugins

Add the following code to your WordPress theme’s function.php file, or a functionality plugin to add a conditional timestamp to Gravity Forms.

/**
 * Use Gravity Forms Conditional Logic with Dates
 * http://gravitywiz.com/use-gravity-forms-conditional-logic-with-dates/
 */
add_filter("gform_field_value_timestamp", "gwiz_populate_timestamp");
function gwiz_populate_timestamp( $value ){
    return time();
}

by Jack Alltrade on March 6, 2018

Filed Under: Code Snippets, Plugins

Reader Interactions

Share Your Two Cents Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

© Copyright Jack Alltrade & Associates 2026 · Purely Supplemental™ is a trademark of Jack Alltrade & Associates