Hide Broken Shortcodes
by Scott Reilly 4.5 (10 reviews)

Hide Broken Shortcodes

Prevent broken shortcodes from appearing in posts and pages.

Hide Broken Shortcodes ranks #9,658 among WordPress.org plugins with 400+ active installations, is #1,275 of 8,548 in the Customization category, a 4.5/5 rating from 10 reviews, and was last updated May 6, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 6.8 (Current: 7.1)
v2.0 Current Version v2.0
Updated 4 months ago Last Update on 06 May, 2026
Refreshed 13 hours ago Last Refreshed on
#1,275 of 8,548 in Customization Top 25% by installs
View on WordPress.org
Rank
#9,658
-18 this week
Active Installs
400+
-13.6%
KW Avg Position
24.5
0.5 worse
Downloads
26.1K
+4 today
Support Resolved
0%
No change
Rating
90%
Review 4.5 out of 5
4.5 (10 reviews)

Next Milestone 500

Total Progress 59%
400+ 500+
425
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 41 more installs to reach 500+

Rank Changes

9,601 9,617 9,633 9,649 9,666 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
9,595 9,623 9,650 9,677 9,705 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
Current #9,658
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 10 20 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
0 10 20 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.5
10 reviews
Overall 90%
5
8 (80%)
4
0 (0%)
3
1 (10%)
2
1 (10%)
1
0 (0%)

Security History

Source: WPVulnerability

No known vulnerabilities on record for Hide Broken Shortcodes. Checked 1 month ago.

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners and administrators who want to keep their pages looking clean. It hides broken shortcodes caused by disabled plugins or typos instead of letting the unprocessed shortcode text appear on the site.

  • Hides self-closing broken shortcodes
  • Shows enclosed text without shortcode tags
  • Customizable via developer hooks
  • hide_broken_shortcode filter
  • hide_broken_shortcodes_filters filter

Frequently Asked Questions

Common questions about Hide Broken Shortcodes

By default, the plugin only tries to hide broken shortcodes appearing in post/page content, post/page excerpts, and widgets. It does not hide broken shortcodes that may appear in post/page titles, custom fields, menus, comments, etc.
If you want want a shortcode to appear as-is in a post (for example, you are trying to provide an example of how to use a shortcode), can use the shortcode escaping syntax, which is built into WordPress, by using two opening brackets to start the shortcode, and two closing brackets to close the shortcode: [[some_shortcode]] [[an_example style="yes"]some text[/an_example]] The shortcodes will appear in your post (but without the double brackets).
Assuming you want to allow the broken shortcodes 'abc' and 'gallery' to be ignored by this plugin (and therefore not hidden if broken), you can include the following in your theme's functions.php file or in a site-specific plugin: /** * Permit certain shortcodes to appear as broken without being hidden. * * @param string $display The text to display in place of the broken shortcode. * @param string $shortcode_name The name of the shortcode. * @param array $m The regex match array for the shortcode. * @return string */ function allowed_broken_shortcodes( $display, $shortcode_name, $m ) { $shortcodes_not_to_hide = array( 'abc', 'gallery' ); if ( in_array( $shortcode_name, $shortcodes_not_to_hide ) ) { $display = $m[0]; } return $display; } add_filter( 'hide_broken_shortcode', 'allowed_broken_shortcodes', 10, 3 );
Yes. The tests are not packaged in the release .zip file or included in plugins.svn.wordpress.org, but can be found in the plugin's GitHub repository.

Sign In / Register

You need to sign in or register to use this feature.