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.
What it does
Section titled “What it does”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.
When to use it
Section titled “When to use it”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.
When not to use it
Section titled “When not to use it”How to enable it
Section titled “How to enable it”- Go to WP PowerSuite -> Modules.
- Open Media or search for “Media Replacement”.
- Toggle Media Replacement on.
- Confirm WP PowerSuite Pro is installed and your license is active.
Toggle it off anytime to stop this module from loading.
How to test it
Section titled “How to test it”- 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.
Troubleshooting
Section titled “Troubleshooting”- 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.
Manage with WP-CLI
Section titled “Manage with WP-CLI”Prefer the command line? You can turn this module on or off with WP-CLI instead of the dashboard:
# Turn the module onwp powersuite module enable media-replacement
# Turn the module offwp powersuite module disable media-replacement
# Check whether it is on, its category, and where its settings livewp powersuite module get media-replacementManaging 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.