+ // Is the extension installed?
+ if (isExtensionActive($matches[4][$key])) {
+ // Construct call-back function name
+ $functionName = 'getExtension' . ucfirst(strtolower($cmd));
+
+ // Call the function
+ $replacer = call_user_func_array($functionName, $matches[4][$key]);
+ } // END - if