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 | |
/* | |
* Money PHP Helper | |
*/ | |
if (!function_exists('money')) { | |
function money() | |
{ | |
return \CLNQCDRS\Utilities\Money::make(); | |
} |
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 | |
/* | |
* Fluent Forms Extra Smartcodes on form integration feeds | |
* This code will add a new item on the smartcode dropdown. | |
* if you don't want to show the smartcode then you may skip this. | |
*/ | |
add_filter('fluentform_form_settings_smartcodes', function ($groups) { | |
$groups[0]['shortcodes']['{my_custom_smartcode}'] = 'Custom All Data'; |