Skip to content

Instantly share code, notes, and snippets.

@spivurno
Last active November 7, 2022 16:31
Show Gist options
  • Save spivurno/5065194 to your computer and use it in GitHub Desktop.
Save spivurno/5065194 to your computer and use it in GitHub Desktop.
Gravity Wiz: Use Gravity Forms Conditional Logic with Dates
<?php
/**
* 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();
}
@spivurno
Copy link
Author

spivurno commented Nov 7, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment