Created
September 30, 2013 20:42
-
-
Save rsharrer/6769966 to your computer and use it in GitHub Desktop.
WP-Functions /Gravity Forms Formlua
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
//GF Formula | |
add_filter("gform_calculation_formula", "change_formula", 10, 4); | |
function change_formula($formula, $field, $form, $lead){ | |
$formula = "18% + " . $formula; | |
return $formula; | |
} | |
// End GF Formula |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment