WordPress开发者和主题制作者的搜索引擎



sanitize_file_name ›

Since2.8.0
已弃用n/a
apply_filters( 'sanitize_file_name', $filename, $filename_raw )
参数: (2)
  • (string) $filename Sanitized filename.
    Required: Yes
  • (string) $filename_raw The filename prior to sanitization.
    Required: Yes
定义在:
文档:

Filters a sanitized filename string.





源码

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