-
-
Save luclemo/d5b6e0730f1f48bd5c75b7878a9d2678 to your computer and use it in GitHub Desktop.
Use Gravity Forms Conditional Logic with Dates #wordpress #gravityForms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment