[ad_1]
Hello,
I am a happy Pro user and would love it if ASE had a feature for “changing” the original filename on file upload. Currently, I am using my own solution, but I think it would be a great feature for ASE Pro.
add_filter('wp_unique_filename', function($filename, $ext) {
$uniqueName = bin2hex(random_bytes(16));
$filename = $uniqueName . $ext;
return $filename;
}, 10, 2);
Thank you for your awesome work <3