thellie
Member
Just that - is it possible, and if so, how?
I found a thread from 5 years ago which showed the code...
...but don't know if it would work with the plugin (or where to put it).
It's not a biggie, so if it's not possible (or too much work) then I'll leave it.
Thanks
I found a thread from 5 years ago which showed the code...
Code:
$length = 10;
$key = "";
// define possible characters
$possible = "0123456789bcdfghjkmnpqrstvwxyzBCDFGHJKLMNPQRTVWXYZ";
$i = 0;
while ($i < $length) {
$char = substr($possible, mt_rand(0, strlen($possible)-1), 1);
$key .= $char;
$i++;
}
return $key;
...but don't know if it would work with the plugin (or where to put it).
It's not a biggie, so if it's not possible (or too much work) then I'll leave it.
Thanks