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
#2401PiWeb Cancel order / Refund request for WooCommerce7640492k+wp function not compatible with requires wp
#2402Change Mail Sender76971920k+Text Domain Mismatch
#2403Custom Template for LearnDash76791k+Non-prefixed hook name
#2404EU Order Withdrawal Button for WooCommerce76461652k+Non-prefixed global variable
#2405FileBird Document Library7623135k+Text Domain Mismatch
#2406Ocean Posts Slider76131410k+Output is not escaped
#2407RS Template Builder For Elementor – Complete Control Over Headers, Footers & More7611561k+Post Not In exclude
#2408Hide Dashboard Notifications76101020k+Output is not escaped
#2409Loyalty Points Rewards and Referral for WooCommerce – WPLoyalty762,2077603k+Text Domain Mismatch
#2410Better Search – Relevant search results for WordPress77181175k+Dynamic hook name
#2411GDPR773912110k+Non-prefixed global variable
#2412Embed Files from Google Drive774355k+Nonce verification recommended
#2413Ilmenite Cookie Consent776112k+Setting is missing a sanitization callback
#2414Posts List7711157k+Non-prefixed hook name
#2415Self-Hosted Google Fonts77351130k+Text Domain Mismatch
#2416Storefront Top Bar7720132k+Non-prefixed hook name
#2417SureRank SEO – Smart Assistant with Meta Tags, Social Preview, XML Sitemap, and Schema775894300k+Non-prefixed hook name
#2418Toggle wpautop774159k+trademarked term
#2419wpsection771315543k+Non-prefixed global variable
#2420Advanced Custom Fields: Gravity Forms Add-on78331330k+Text Domain Mismatch
#2421AffiliateWP – Affiliate QR Codes783281k+Text Domain Mismatch
#2422Animated Text Block – Add Typing and Looping Text Effects785254k+Non-prefixed class
#2423RSS Aggregator by Feedzy – Feed to Post, Autoblogging, News & YouTube Video Feeds Aggregator783127640k+Non-prefixed global variable
#2424PRENA – Product Pre-Orders for WooCommerce786292k+Request data is not unslashed
#2425Animator – Scroll Triggered Animations7816242k+Missing direct file access protection
#2426SearchWP Live Ajax Search7882350k+Non-prefixed global variable
#2427Typing Text – Add Animated Typing Effects to Headings or Text784253k+Non-prefixed class
#2428Wheel of Life: Coaching and Assessment Tool for Life Coach7831133k+Non-prefixed global variable
#2429WooCommerce Square78626680k+Non-prefixed hook name
#2430AffiliateWP – Affiliate Info792771k+Text Domain Mismatch
#2431Auto Featured Image (Auto Post Thumbnail)7953050k+Non-prefixed hook name
#2432Klaviyo792686100k+Non-prefixed function
#2433Location Weather – WordPress Weather Forecast, Air Quality & Weather Widget7956710k+Non-prefixed global variable
#2434Qi Addons For Elementor7933339200k+Non-prefixed global variable
#2435Real Category Management: Content Management in Category Folders794732k+Non-prefixed constant
#2436RealHomes Currency Switcher7972421k+Non Singular String Literal Domain
#2437Retainful – WooCommerce Abandoned Cart, Newsletters, Email Marketing, Signup Forms and Automation7915261k+Non-prefixed hook name
#2438SSH SFTP Updater Support7963110k+Non-prefixed global variable
#2439Nexter Blocks – Gutenberg Blocks, Page Builder & AI Website Builder799573310k+Non-prefixed global variable
#2440Custom Add to Cart labels for WooCommerce791355k+Output is not escaped
#2441WooCommerce Grid / List toggle79101210k+Output is not escaped
#2442WP Last Modified Info79453240k+Short PHP open tag found
#2443WP Map Block – Gutenberg Map Block for Google Map and OpenStreet Map by aBlocks7961020k+trademarked term
#2444YITH Maintenance Mode7919635k+Non-prefixed global variable
#2445Antispam Bee80438700k+Nonce verification recommended
#2446ShopEngine Gutenberg WooCommerce Builder Blocks Addon – All in One WooCommerce Solution804247353k+Non-prefixed global variable
#2447Bricksable for Bricks Builder8017610k+Post Not In exclude
#2448Custom Icons for Elementor8062510k+Non-prefixed global variable
#2449Interlinks Manager – Internal Links Optimizer8017138k+Database parameter is not escaped
#2450Flipbox8014172k+wp function not compatible with requires wp