Title: CodeUnwrap – Shortcode Cleanup
Author: Mohit Chawla
Published: <strong>September 10, 2026</strong>
Last modified: September 10, 2026

---

Search plugins

![](https://ps.w.org/codeunwrap-shortcode-cleanup/assets/banner-772x250.png?rev=
3690160)

![](https://ps.w.org/codeunwrap-shortcode-cleanup/assets/icon-256x256.png?rev=3690160)

# CodeUnwrap – Shortcode Cleanup

 By [Mohit Chawla](https://profiles.wordpress.org/m9729640633/)

[Download](https://downloads.wordpress.org/plugin/codeunwrap-shortcode-cleanup.1.1.2.zip)

 * [Details](https://srd.wordpress.org/plugins/codeunwrap-shortcode-cleanup/#description)
 * [Reviews](https://srd.wordpress.org/plugins/codeunwrap-shortcode-cleanup/#reviews)
 *  [Installation](https://srd.wordpress.org/plugins/codeunwrap-shortcode-cleanup/#installation)
 * [Development](https://srd.wordpress.org/plugins/codeunwrap-shortcode-cleanup/#developers)

 [Support](https://wordpress.org/support/plugin/codeunwrap-shortcode-cleanup/)

## Description

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.

## Installation

 1. Upload the `codeunwrap-shortcode-cleanup` directory to `/wp-content/plugins/`.
 2. Activate CodeUnwrap – Shortcode Cleanup through the Plugins screen.
 3. Open Tools > CodeUnwrap – Shortcode Cleanup.
 4. Before removing or replacing any shortcode content, take a complete database backup
    and confirm that it can be restored.
 5. Enter a shortcode name for targeted cleanup, or scan for unregistered shortcodes.

## FAQ

### Does scanning change content?

No. Scanning is read-only and the results expire automatically after 30 minutes.

### Can I keep the text inside an enclosing shortcode?

Yes. Choose “Remove shortcode wrapper and keep inner text” before starting targeted
cleanup.

### Will cleanup time out on a large site?

Targeted cleanup processes content in small sequential AJAX batches to avoid normal
page-request timeouts.

### Can cleaned content be recovered?

WordPress creates a revision during the update when revisions are enabled for that
content type.

### Will cleanup change the post modified date?

By default, no. The “Keep the original modified date” option is selected for targeted
and bulk cleanup. Clear that option if you want WordPress to record the cleanup 
time as the modified date.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“CodeUnwrap – Shortcode Cleanup” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Mohit Chawla ](https://profiles.wordpress.org/m9729640633/)

[Translate “CodeUnwrap – Shortcode Cleanup” into your language.](https://translate.wordpress.org/projects/wp-plugins/codeunwrap-shortcode-cleanup)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/codeunwrap-shortcode-cleanup/),
check out the [SVN repository](https://plugins.svn.wordpress.org/codeunwrap-shortcode-cleanup/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/codeunwrap-shortcode-cleanup/)
by [RSS](https://plugins.trac.wordpress.org/log/codeunwrap-shortcode-cleanup/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.2

 * Added an explicit database-backup reminder to the installation instructions.

#### 1.1.1

 * Renamed the plugin to CodeUnwrap – Shortcode Cleanup with a distinctive WordPress.
   org slug and matching identifiers.

#### 1.1.0

 * Redesigned the administration screen with a clearer cleanup workflow, responsive
   scan results, and improved progress and selection feedback.
 * Added an option, enabled by default, to preserve original post modified dates
   during cleanup.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.1.2**
 *  Last updated **3 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.4 or higher **
 *  Tested up to **7.1**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/codeunwrap-shortcode-cleanup/)
 * Tags
 * [admin](https://srd.wordpress.org/plugins/tags/admin/)[cleanup](https://srd.wordpress.org/plugins/tags/cleanup/)
   [content](https://srd.wordpress.org/plugins/tags/content/)[shortcode](https://srd.wordpress.org/plugins/tags/shortcode/)
 *  [Advanced View](https://srd.wordpress.org/plugins/codeunwrap-shortcode-cleanup/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/codeunwrap-shortcode-cleanup/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/codeunwrap-shortcode-cleanup/reviews/)

## Contributors

 *   [ Mohit Chawla ](https://profiles.wordpress.org/m9729640633/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/codeunwrap-shortcode-cleanup/)