Directory / plugin

CodeUnwrap – Shortcode Cleanup

v1.1.2 · by Mohit Chawla

Find and remove unwanted shortcodes in safe batches, with the option to preserve their inner content.

View on WordPress.org

About this plugin

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.

Plugin tags