WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound

Non-prefixed function

The plugin defines a function 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 function 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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#2551ShareThis Share Buttons982910k+Non Prefixed Variable Found
#2552WebFinger98381k+Non Prefixed Function Found
#2553Who Stole the Text Justify Button ?!98137k+Non Prefixed Function Found
#2554WPC Added To Cart Notification for WooCommerce98173k+Non Prefixed Class Found
#2555Align Woo Buttons98363k+Non Prefixed Function Found
#2556Table Rate Shipping for WooCommerce981220k+Non Prefixed Function Found
#2557Remove SKU From Single Product page98821k+Text Domain Mismatch
#2558WP Edit Username981142k+Non Prefixed Hookname Found
#2559WPC Name Your Price for WooCommerce98166k+Non Prefixed Class Found
#2560Vertical Timeline Widget for Elementor991010k+Non Prefixed Function Found
#2561BD Courier Order Ratio Checker99152k+Non Prefixed Class Found
#2562Advanced Classic Editor99112k+Non Prefixed Function Found
#2563Block Specific Spam Woo Orders99141k+Non Prefixed Hookname Found
#2564Call To Action Customizable Block99131k+Non Prefixed Function Found
#2565Essential Widgets99310k+Non Prefixed Function Found
#2566Fr Custom Payment Gateway Icon for WooCommerce99212k+Non Prefixed Function Found
#2567Portugal States (Distritos) for WooCommerce9975k+Non Prefixed Function Found
#2568Video Gallery Block9931k+Non Prefixed Function Found
#2569Free WooCommerce Products Slider/Carousel Pro99112k+Non Prefixed Variable Found
#2570Document Embedder – Embed PDFs, Word, Excel, and Other Files10029k+Non Prefixed Function Found