random_letters

The random_letters function returns a string containing a random series of uppercase and/or lowercase letters at the specified length. If no length is specified then the string will be 8 characters long.

This function is unique to Aptuitiv. It is not part of the core Twig functionality.
{{ random_letters(3) }}

{# Returns a string that is 3 characters long #}

Arguments

The random_letters function has the following signature.

random_letters(length)
Argument Description
length

The number of characters that the returned value should be.

If it is not set then the returned value will be 8 characters long.
This documentation is only for Aptuitiv CMS. Learn more.
Get Started With Aptuitiv