diff --git a/functions.php b/functions.php index cc8f8675..af8f9e59 100644 --- a/functions.php +++ b/functions.php @@ -405,9 +405,10 @@ function getDomainExpirationDate($name){ return '0000-00-00'; } + function clean_file_name($string){ $string = strtolower($string); - + // Gets rid of spaces $clean_file_name = preg_replace('/\s/', '', $string);