Hello,
Thanks for such a quick reply and I am really sorry that I didn’t get back to you.
Actually, I am talking about the following code:
public static function gen_random_string($length = 4)
{
$characters = '0123456789abcdefghijklmnopqrstuvwxyz';
$string = '';
$max_index = strlen($characters) - 1;
for($p = 0; $p < $length; $p++)
$string .= $characters[mt_rand(0, $max_index)];
return $string;
}
The default character set. I don’t want to use the default one. I want to use a custom character set and also I don’t want to touch the original code. Because in every update I will have to update the character set manually. So, I am looking for a function or a way to do it.
Feature request: Please add an option in the WordPress admin under Pretty Links settings to set custom character set.