跳到内容

Healthy filenames

v1.1.0

Kantari Samy · 2017年10月2日 上架

Automatically clean the filenames.

正在使用
100+
评分
暂无
累计下载
3,275
最近更新
2026年9月30日
需要 WordPress 5.3+已测试到 7.1.5PHP 7.4+

截图

Example
Example
Settings page: upload counters and cleaning options
Settings page: upload counters and cleaning options

The plugin uses the hooks “wp_handle_upload_prefilter” and “wp_handle_sideload_prefilter” and modifies the filename to remove all special characters.

FEATURES
– Remove accents
– Remove special characters
– Change the filename to lowercase
– Convert non-Latin characters to Latin ones (requires the PHP “intl” extension)
– Optionally replace underscores with hyphens
– Count the uploads that had to be cleaned and the ones that were already clean

Examples :
– filename : rick & morty.png > rick-morty.png
– filename : finaL fantasy / (Copié) (Copié).jpg > final-fantasy-copie-copie.jpg
– filename : Привет.jpg > privet.jpg

The settings and the counters are in “Settings > Healthy filenames”.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums