CodeUnwrap – Shortcode Cleanup
CodeUnwrap – Shortcode Cleanup adds a screen under Tools where authorized editors can remove a specific shortcode from posts and other editable content types. Enter a shortcode name, choose whether to remove the complete shortcode or preserve its inner content, and let the plugin process content in
About this tool.
CodeUnwrap – Shortcode Cleanup adds a screen under Tools where authorized editors can remove a specific shortcode from posts and other editable content types. Enter a shortcode name, choose whether to remove the complete shortcode or preserve its inner content, and let the plugin process content in small AJAX batches.
The plugin can also scan for shortcode tags that are not currently registered. Scan results are presented for review, and nothing changes until specific items are selected. WordPress revisions provide recovery points where supported.
Features
- Clean a specific shortcode by entering its tag name.
- Keep enclosed text or remove the complete shortcode and its inner content.
- Scan editable content for shortcode tags that are no longer registered.
- Review and select affected content before bulk cleanup.
- Process targeted cleanup and scans in small AJAX batches.
- Keep original post modified dates when cleaning, enabled by default.
- Use WordPress capabilities, nonces, sanitization, escaping, and revision-compatible updates.
Getting started.
- 01Upload the codeunwrap-shortcode-cleanup directory to /wp-content/plugins/ .
- 02Activate CodeUnwrap – Shortcode Cleanup through the Plugins screen.
- 03Open Tools > CodeUnwrap – Shortcode Cleanup.
- 04Before removing or replacing any shortcode content, take a complete database backup and confirm that it can be restored.
- 05Enter a shortcode name for targeted cleanup, or scan for unregistered shortcodes.
Frequently asked questions.
Does scanning change content?
No. Scanning is read-only and the results expire automatically after 30 minutes.