WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound

Non-prefixed hook name

The plugin defines a hook name without a plugin-specific prefix.

medium weight

Why It Shows Up

WordPress loads many plugins in the same PHP runtime. Plugin Check found a global symbol or hook name that is not clearly namespaced to this plugin.

Why It Matters

Unprefixed globals can collide with WordPress core, themes, or other plugins, causing fatal errors, overwritten values, or handlers running in the wrong context.

How to Fix

  • Choose a short, unique prefix or namespace based on the plugin slug or vendor name.
  • Rename the hook name so it cannot collide with code from another plugin.
  • For public hooks, document the final hook name and keep it stable after release.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#2501Templatiq383194900Non-prefixed hook name
#2502Variation Swatches for WooCommerce3845652k+Output is not escaped
#2503Broadcast38211071k+Direct Query
#2504Twenty Eleven Theme Extensions3835303k+Output is not escaped
#2505Termly – GDPR/CCPA Cookie Consent Banner38549280k+Non-prefixed global variable
#2506Unconfirmed3820791k+Nonce verification recommended
#2507VidShop – Shoppable Videos for WooCommerce38491441k+Database parameter is not escaped
#2508Visual Admin Customizer382051500Input is not sanitized
#2509W2S – Migrate WooCommerce to Shopify38331321k+Non-prefixed global variable
#2510WC-AC Hook3844721k+Missing nonce verification
#2511Shipping Packages for WooCommerce – Dropship from multiple locations like AliExpress, eBay, Amazon, Etsy389426900Non Singular String Literal Domain
#2512SSLCommerz Payment Gateway38211322k+Non-prefixed global variable
#2513WholesaleX – B2B & Wholesale Plugin for WooCommerce with Wholesale Prices38401802k+Non-prefixed global variable
#2514WishSuite – Wishlist for WooCommerce38761331k+Output is not escaped
#2515WPC Frequently Bought Together for WooCommerce388016210k+Output is not escaped
#2516Photo Reviews for WooCommerce382622210k+Request data is not unslashed
#2517Vietnam Checkout for WooCommerce389313710k+Nonce verification recommended
#2518Connect WooCommerce Shop to ERP/CRM, Verifactu and EU/VAT Compliance38231041k+Direct Query
#2519WooSwipe WooCommerce Gallery3888823k+Non-prefixed global variable
#2520WP Hebrew Date3810213600Output is not escaped
#2521WP 404 Auto Redirect to Similar Post381664830k+Text Domain Mismatch
#2522WP Discord Post Plus – Supports Unlimited Channels3811634700Text Domain Mismatch
#2523WP Mailgun SMTP389951900Text Domain Mismatch
#2524WP Media Categories3840103800Nonce verification recommended
#2525External Store for Shopify3897332k+Output is not escaped
#2526WP Terms Popup – Terms and Conditions and Privacy Policy WordPress Popups38299583k+Non Singular String Literal Domain
#2527WPC Product Options for WooCommerce38571824k+Non-prefixed global variable
#2528Responsive Vertical Icon Menu3818885700Output is not escaped
#2529WPTurbo -WordPress性能优化插件382034600Output is not escaped
#2530Weather Underground3864273k+Output is not escaped
#2531Smart Custom 404 Error Page399044100k+Output is not escaped
#2532Accounting for WooCommerce3987115500Unsafe printing function
#2533ACF: Google Font Selector3957453k+Output is not escaped
#2534Ad Invalid Click Protector (AICP)39785710k+Text Domain Mismatch
#2535Add Tiktok Pixel for Tiktok ads (+Woocommerce)3994252k+Output is not escaped
#2536Additional Order Filters for WooCommerce39792552k+Nonce verification recommended
#2537Advanced Product Fields (Product Addons) for WooCommerce3914514550k+Output is not escaped
#2538AffiliatePages – Pros & Cons, Notice, and CTA Blocks for Affiliates3991532k+Output is not escaped
#2539AffiliateWP – Affiliate Area Tabs3986263k+Output is not escaped
#2540Load More Anything3938735k+Output is not escaped
#2541Accessibility by AllAccessible39200822k+Unsafe printing function
#2542Andreani WooCommerce392186700Non-prefixed global variable
#2543Archive Control39151671k+Unsafe printing function
#2544Australia Post WooCommerce Extension3999123k+Text Domain Mismatch
#2545Header Footer for Beaver Builder39393110k+Output is not escaped
#2546bbPress Voting392753500Output is not escaped
#2547Benchmark Email Lite3986231k+Output is not escaped
#2548Better User Search392444700SQL query is not prepared
#2549Block Editor Bootstrap Blocks3917350900Text Domain Mismatch
#2550Bogo393013910k+Request data is not unslashed