Skip to content

Instantly share code, notes, and snippets.

<?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';
@nasrulhazim
nasrulhazim / helpers.php
Created December 19, 2017 11:51
MoneyPHP Wrapper Helper
<?php
/*
* Money PHP Helper
*/
if (!function_exists('money')) {
function money()
{
return \CLNQCDRS\Utilities\Money::make();
}