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,656 among WordPress.org plugins with 400+ active installations, is #1,282 of 8,848 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.4)
v2.0 Current Version v2.0
Updated 6 months ago Last Update on 06 May, 2026
Refreshed 1 week ago Last Refreshed on
#1,282 of 8,848 in Customization Top 25% by installs Downloads -20% this week
View on WordPress.org
Rank
#9,656
— No change
Active Installs
400+
-12.3%
KW Avg Position
23
— No change
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 61%
400+ 500+
572
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 39 more installs to reach 500+

Rank Changes

9,173 9,415 9,656 9,897 10,139 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
9,602 9,631 9,660 9,688 9,717 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Current #9,656
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 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
0 10 20 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-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 3 months 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.