跳到内容

Media Switcheroo

v1.0.0

idesolutions · 2026年11月6日 上架

Safely replace Media Library files in place, regenerate WordPress metadata and thumbnails, and clear caches automatically.

正在使用
10 以下
评分
暂无
累计下载
311
最近更新
2026年11月6日
需要 WordPress 6.8+已测试到 7.1.5PHP 8.0+

贡献者

截图

Media Switcheroo screen and media selector.
Media Switcheroo screen and media selector.
Current media and replacement-file interface.
Current media and replacement-file interface.
Replace File action in the Media Library.
Replace File action in the Media Library.
Replace Media File option in Attachment Details.
Replace Media File option in Attachment Details.

Media Switcheroo is a WordPress plugin for replacing files already stored in the Media Library without changing the attachment ID or existing media URL.

It is designed for common maintenance tasks such as replacing an updated image, PDF, document, download, or other WordPress-supported attachment while keeping existing references intact.

Features

  • Replace Media Library files in place.
  • Preserve the attachment ID and existing URL.
  • Preserve title, alt text, caption, description, and attachment relationships.
  • Support images, PDFs, documents, and other WordPress-supported media types.
  • Require the same file extension to avoid breaking existing links.
  • Regenerate image sizes and attachment metadata after replacement.
  • Regenerate supported PDF preview metadata through WordPress core.
  • Clear the cached data WordPress holds for the replaced file.
  • Purge supported cache and optimization plugins when detected.
  • Purge supported hosting caches when detected.
  • Clear Elementor generated-file cache when available.
  • Add a version value to media URLs on the public site after replacement to help defeat stale browser and CDN caches.
  • Add Replace File actions directly to Media Library workflows.
  • Check replacement files before they are installed, and restore the original if anything goes wrong.
  • Responsive WordPress admin interface.
  • No external service or tracking required.

Who can use it

Users who can upload files and edit the media item (or manage the site) can replace it. Replacement files are checked against the file types your site already allows.

Plums

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

导航

说明

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

© 2026 Plums