Focused WordPress plugins for real client work.Clear licensing for 1, 5, or 100 websites

Media Replace documentation

Help and reference for version 1.4.1.

Overview

WordPress has no built-in way to replace a media file. The usual workaround is to upload a new one and manually update every page, post, and template that references the old file. This plugin removes that work.

Replace links appear in three places:

Replaces in place. The attachment ID stays the same so every existing reference updates automatically. Old thumbnails are deleted and regenerated.

Requirements

  • WordPress 6.4 or newer
  • PHP 8.2 or newer

Installation

  1. Upload the dprime-media-replace folder to /wp-content/plugins/.
  2. Activate Dprime Media Replace in WordPress.
  3. Open the plugin settings and review the available options.

Using the plugin

  • Media Library list view: Replace file row action
  • Media modal when editing posts: Replace file link in the sidebar
  • Edit Media screen: Replace file meta box

Data and cleanup

  • Content metadata: _wp_attached_file

Retention: kept until the plugin is uninstalled. Uninstall policy: delete the plugin-owned data declared above.

Updates and access

This complete free release can be downloaded directly. Install Dprime Core for automatic catalogue updates.