Last active
November 9, 2018 16:16
-
-
Save Shelob9/f4804135e30154c829caea95d1d63310 to your computer and use it in GitHub Desktop.
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 | |
/** | |
* Add ceil to allowed Caldera Forms math functions | |
*/ | |
add_filter( 'caldera_forms_field_util_math_functions', function( $functions ){ | |
$functions[] = 'ceil'; | |
return $functions; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment