function currency_filter_currency_exchange_process in Currency 7.2
Implements hook_filter_info()'s process callback.
1 string reference to 'currency_filter_currency_exchange_process'
- currency_filter_info in currency/
currency.module - Implements hook_filter_info().
File
- currency/
currency.module, line 603 - Provides currency information and allows users to add custom currencies.
Code
function currency_filter_currency_exchange_process($text, $filter, $format, $langcode, $cache, $cache_id) {
return preg_replace_callback('/\\[currency:([a-z]{3}):([a-z]{3})(.*?)\\]/i', '_currency_filter_currency_exchange_process', $text);
}