HM Replace Files
upload a replacement for an existing attachment
★ 7stars
2kcomposer installs
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/humanmade/replace-files/archive/refs/heads/master.zipAlso on Packagist as humanmade/replace-files:
composer require humanmade/replace-filesFrom the readme
Replace Files
This plugin allows you to upload a replacement for an existing attachment.
Cache Busting
Replacements use the same filename as the original, allowing existing links to continue working. However, this may require busting the cache to expose the new image. You can use the replacefiles.mergereplacement.replaced action to handle this:
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| 1.0.0 | Oct 5, 2023 | — | — |