learndash_clean_filename

learndash_clean_filename( string $string )

Cleans file name on upload.


Description #


Parameters #

$string

(string) (Required) Name of the file.


Return #

(string) Returns filename after cleaning.


Source #

File: includes/ld-assignment-uploads.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.