function typogrify_filter in Typogrify 5
Same name and namespace in other branches
- 6 typogrify.module \typogrify_filter()
File
- ./
typogrify.module, line 7
Code
function typogrify_filter($op, $delta = 0, $format = -1, $text = '') {
switch ($op) {
case 'list':
return array(
t('Typogrify'),
);
case 'description':
return t('Adds typographic refinements.');
case 'settings':
return _typogrify_settings($format);
case 'process':
return _typogrify_process($text, $format);
default:
return $text;
}
}