smarty_modifiercompiler_count_words()
smarty_modifiercompiler_count_words(array $params, $compiler) : string
Smarty count_words modifier plugin
Type: modifier
Name: count_words
Purpose: count the number of words in a text
Parameters
| array | $params | parameters |
| $compiler |
Returns
string —with compiled code