Uma área de pesquisa sobre o WordPress para devs e autores do tema



sanitize_file_name ›

Desde2.8.0
Obsoleton/a
apply_filters( 'sanitize_file_name', $filename, $filename_raw )
Parâmetros: (2)
  • (string) $filename Sanitized filename.
    Required: Yes
  • (string) $filename_raw The filename prior to sanitization.
    Required: Yes
Definido em:
Codex:

Filters a sanitized filename string.





Fonte

return apply_filters( 'sanitize_file_name', $filename, $filename_raw );