We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gw-dyn-pop-unix-timestamp.php
1 parent e808de3 commit 46af992Copy full SHA for 46af992
gravity-forms/gw-dyn-pop-unix-timestamp.php
@@ -0,0 +1,10 @@
1
+<?php
2
+/**
3
+ * Gravity Wiz // Gravity Forms // Dynamically Populate Unix Timestamp
4
+ * http://gravitywiz.com/use-gravity-forms-conditional-logic-with-dates/
5
+ *
6
+ * Set a field's dynamic population parameter to "timestamp" to populate the current Unix timestamp.
7
+ */
8
+add_filter( 'gform_field_value_timestamp', function ( $value ) {
9
+ return time();
10
+} );
0 commit comments