}
// Do we have another function to run (e.g. translations)
- if (!empty($extraFunction)) {
+ if (!empty($data['extra_func'])) {
// Surround the original function call with it
- $functionName = $extraFunction . '(' . $functionName . ')';
+ $functionName = $data['extra_func'] . '(' . $functionName . ')';
} // END - if
// Now replace the code
}
// Expression call-back function for getting configuration data
+// @TODO FILTER_COMPILE_CONFIG does not handle call-back functions so we handle it here again
function doExpressionConfig ($data) {
// Read configuration
$configValue = getConfig($data['matches'][4][$data['key']]);