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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#1351WP-PostViews3513264100k+Unsafe Printing Function
#1352WP-Print35110528k+Unsafe Printing Function
#1353WP Store Locator35251450k+wp function not compatible with requires wp
#1354WPC Badge Management for WooCommerce35281292k+Missing
#1355WPC Product Options for WooCommerce35932084k+Non Prefixed Variable Found
#1356WPCore Plugin Manager351183810k+Text Domain Mismatch
#1357WP Views Counter3581422k+Output Not Escaped
#1358WPElemento Importer351261239k+Text Domain Mismatch
#1359WPFront User Role Editor3533357830k+Output Not Escaped
#1360WPGraphQL for ACF3581810k+Output Not Escaped
#1361WPZOOM Addons for Elementor – Starter Templates & Widgets3516012620k+Output Not Escaped
#1362WPZOOM Portfolio Lite – Filterable Portfolio Plugin35429220k+Non Prefixed Variable Found
#1363TypeSquare Webfonts for エックスサーバー3518398100k+Missing Arg Domain
#1364Yabe Webfont – Use Custom Fonts, Google Fonts or Adobe Fonts35481145k+Non Prefixed Hookname Found
#1365Yoco Payments3523210k+Recommended
#1366Yotpo: Product & Photo Reviews for WooCommerce35241892k+Non Prefixed Function Found
#1367Embeds for YouTube3525530710k+Non Prefixed Variable Found
#1368Ziina358192k+wp redirect wp redirect
#1369Product Labels For Woocommerce (Sale Badges)36904810k+Output Not Escaped
#1370Affiliate Links – Link Cloaking and Management36261363k+Non Prefixed Variable Found
#1371Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder36332110k+Recommended
#1372Blaze Demo Importer36101948k+Output Not Escaped
#1373BlockStrap Page Builder – Bootstrap Blocks3681892k+missing direct file access protection
#1374Breadcrumb NavXT36102111800k+Non Singular String Literal Domain
#1375Simple SEO3616411310k+Non Singular String Literal Domain
#1376Multi Step for Contact Form 7366110610k+Missing
#1377Contact Form 7 Polylang Module3632455k+Output Not Escaped
#1378CMB23614819300k+Output Not Escaped
#1379Code Snippets36342031m+Recommended
#1380Conditional Payments for WooCommerce3629218410k+Text Domain Mismatch
#1381Conditional Shipping for WooCommerce369319610k+Non Prefixed Variable Found
#1382Constant Contact Forms36408120k+Missing
#1383Custom PHP Settings361537610k+Output Not Escaped
#1384Depicter — Popup & Slider Builder3613012180k+Exception Not Escaped
#1385Desktop Mode3615792k+Direct Query
#1386Doneren met Mollie364203514k+Not Prepared
#1387Duplicate Post – duplicate pages, copy content, clone posts3671815k+wp function not compatible with requires wp
#1388Dynamic Visibility for Elementor36568950k+Non Prefixed Hookname Found
#1389WP CTA – Call Now Button, Sticky Button & Call to Action Builder3614332k+Non Prefixed Variable Found
#1390Enhanced Media Library3636111760k+Unsafe Printing Function
#1391Envo's Templates & Widgets for Elementor and WooCommerce361,0655410k+Text Domain Mismatch
#1392Optimize Social Share36203613k+Unsafe Printing Function
#1393HTML5 Maps361941605k+Output Not Escaped
#1394Page Speed Optimizer: HTTP/2 Push, Async JavaScript, and Defer CSS3668336k+Output Not Escaped
#1395Image Watermark367617940k+Missing
#1396Insert Headers and Footers Code – HT Script36391347k+Text Domain Mismatch
#1397Italy Cookie Choices (for EU Cookie Law & Cookie Notice)361157710k+Unsafe Printing Function
#1398Jetpack VideoPress366182247k+Text Domain Mismatch
#1399Legal Text Connector of the IT-Recht Kanzlei36454610k+Exception Not Escaped
#1400Login as User361016430k+Output Not Escaped