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 | |
/** | |
* Gravity Wiz // Gravity Forms // Product Count | |
* | |
* Get the total number of products selected. Particularly useful in combination with the GP Conditional Pricing | |
* perk to create pricing rules based on product count. | |
* | |
* @version 1.0 | |
* @author David Smith <david@gravitywiz.com> | |
* @license GPL-2.0+ |
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 | |
# First and Last Name | |
new GW_Rename_Uploaded_Files( array( | |
'form_id' => 628, | |
'field_id' => 3, | |
'template' => '{Name (First):1.3}-{Name (Last):1.6}-{filename}' // most merge tags are supported, original file extension is preserved | |
) ); | |
# Form Title Merge Tag |