Skip to content
Select theme
Get Started

Media Replacement

Summarize with AI

Media Replacement Replace any media file while keeping the same URL and attachment ID. Update product photos used across multiple pages without touching any of them - just swap the file and every reference updates automatically.

Replace any media file while keeping the same URL and attachment ID. Update product photos used across multiple pages without touching any of them - just swap the file and every reference updates automatically.

  • Simple on/off toggle - no settings panel.
  • Replace Media.
  • Upload a new file.
  • Choose file.

Enable it if:

  • You specifically need: Replace any media file while keeping the same URL and attachment ID. Update product photos used across multiple pages without touching any of them - just swap the file and every reference updates automatically.
  • You want this Media feature without installing a separate plugin for it.
  1. Go to WP PowerSuite -> Modules.
  2. Open Media or search for “Media Replacement”.
  3. Toggle Media Replacement on.
  4. Confirm WP PowerSuite Pro is installed and your license is active.

Toggle it off anytime to stop this module from loading.

  • Confirm Media Replacement is enabled under WP PowerSuite -> Modules -> Media.
  • Use the feature this module controls (the admin UI, front-end behavior, upload, login flow, etc.).
  • ✅ Pass: you see the module-specific behavior described above.
  • ❌ Fail: re-check this module’s settings and Pro install/license, then look for another plugin doing the same job.
  • No change after enabling. Confirm the toggle is on, hard-refresh, and review this module’s settings.
  • Conflicts. Temporarily disable other plugins that implement the same feature.
  • Locked / inactive. Install WP PowerSuite Pro beside the free plugin and activate your license.
  • Unexpected side effect. Toggle Media Replacement off to revert, then re-enable with adjusted settings.

Prefer the command line? You can turn this module on or off with WP-CLI instead of the dashboard:

Terminal window
# Turn the module on
wp powersuite module enable media-replacement
# Turn the module off
wp powersuite module disable media-replacement
# Check whether it is on, its category, and where its settings live
wp powersuite module get media-replacement

Managing more than one site? Add --url=https://example.com to point a command at one site. If this is a Pro module, install WP PowerSuite Pro and activate your license first. New to WP-CLI? See the full command guide.

What does Media Replacement do?

Replace any media file while keeping the same URL and attachment ID. Update product photos used across multiple pages without touching any of them - just swap the file and every reference updates automatically.

Is Media Replacement included in WP PowerSuite Pro?

Yes. Media Replacement ships in the WP PowerSuite Pro add-on. Install Pro beside the free plugin and activate your license.

Does Media Replacement need configuration?

No. It is a simple on/off toggle.

How do I turn Media Replacement off?

Go to WP PowerSuite -> Modules, find Media Replacement, and toggle it off.

Developer notes (hooks & filters)

Source: modules/media-replacement/module.php, modules/media-replacement/views/replace-modal.php. Boot: display · context: admin, ajax, frontend.

Hooks (non-exhaustive): wp_get_attachment_url, wp_get_attachment_image_src, wp_ajax_wpps_media_replace, wp_ajax_wpps_media_replace_info, add_meta_boxes_attachment, admin_enqueue_scripts, admin_footer-post.php, load-upload.php, attachment_fields_to_edit, media_row_actions, admin_footer-upload.php.