WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound
Non-prefixed hook name
The plugin defines a hook name without a plugin-specific prefix.
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.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #3601 | AI | 81 | 11 | 79 | 30k+ | Non-prefixed global variable | ||
| #3602 | Authorsy – Author Box, Multiple Authors, Guest Authors & Post Rating | 81 | 1 | 20 | 1k+ | Request data is not unslashed | ||
| #3603 | Great Restaurant Menu WP | 81 | 89 | 100 | 1k+ | Text Domain Mismatch | ||
| #3604 | Blocksy Companion | 81 | 1,069 | 300k+ | Non-prefixed global variable | |||
| #3605 | Bulky – Bulk Edit Products for WooCommerce | 81 | 3 | 21 | 10k+ | Non-prefixed hook name | ||
| #3606 | cookie-cat | 81 | 14 | 27 | 1k+ | Non-prefixed function | ||
| #3607 | Countdown Block | 81 | 14 | 10 | 4k+ | wp function not compatible with requires wp | ||
| #3608 | Joinchat – Enhanced "click to chat" | 81 | 17 | 32 | 700k+ | wp function not compatible with requires wp | ||
| #3609 | eCommerce Shipping Dashboard by UPS for WooCommerce | 81 | 6 | 35 | 1k+ | Non-prefixed constant | ||
| #3610 | ElasticPress | 81 | 13 | 655 | 8k+ | Non-prefixed hook name | ||
| #3611 | Fullwidth Templates for Any Theme & Page Builder | 81 | 12 | 23 | 20k+ | Non-prefixed constant | ||
| #3612 | Gutenverse Companion | 81 | 16 | 29 | 8k+ | Nonce verification recommended | ||
| #3613 | GIFTiT – Free Gifts for WooCommerce | 81 | 43 | 357 | 2k+ | Non-prefixed global variable | ||
| #3614 | REPORTiT – Advanced Reporting for WooCommerce | 81 | 9 | 98 | 700 | Non-prefixed global variable | ||
| #3615 | OG — Better Share on Social Media | 81 | 14 | 51 | 30k+ | Non-prefixed hook name | ||
| #3616 | Order Approval for Woocommerce | 81 | 3 | 208 | 1k+ | Non-prefixed global variable | ||
| #3617 | Pagebar2 | 81 | 19 | 37 | 900 | Non-prefixed global variable | ||
| #3618 | Payfast Gateway for WooCommerce | 81 | 2 | 18 | 2k+ | Missing nonce verification | ||
| #3619 | Price Table Block | 81 | 15 | 16 | 900 | file system operations mkdir | ||
| #3620 | Progress Bars | 81 | 15 | 14 | 500 | file system operations mkdir | ||
| #3621 | Orphans | 81 | 1 | 43 | 50k+ | Dynamic hook name | ||
| #3622 | Stream | 81 | 5 | 80 | 80k+ | Direct Query | ||
| #3623 | Team Member Block | 81 | 15 | 14 | 1k+ | file system operations mkdir | ||
| #3624 | Toggle Content | 81 | 16 | 12 | 700 | file system operations mkdir | ||
| #3625 | Typing Text | 81 | 15 | 16 | 600 | file system operations mkdir | ||
| #3626 | VS Event List | 81 | 1 | 259 | 8k+ | Non-prefixed global variable | ||
| #3627 | Appointment Bookings for Zoom GoogleMeet and more – Wappointment | 81 | 22 | 52 | 1k+ | Non-prefixed class | ||
| #3628 | Free Shipping Bar for WooCommerce | 81 | 5 | 21 | 2k+ | Non-prefixed global variable | ||
| #3629 | Bulk Order Form for WooCommerce | 81 | 8 | 98 | 900 | Non-prefixed hook name | ||
| #3630 | ShipStation for WooCommerce | 81 | 34 | 40k+ | Non-prefixed class | |||
| #3631 | WP Events Manager WooCommerce | 81 | 20 | 10 | 1k+ | Text Domain Mismatch | ||
| #3632 | WP Subtitle | 81 | 7 | 33 | 10k+ | Non-prefixed hook name | ||
| #3633 | Accordion Toggle | 82 | 17 | 11 | 2k+ | Non-prefixed class | ||
| #3634 | ACF Multi Dates Field | 82 | 6 | 8 | 1k+ | Not In Footer | ||
| #3635 | Add-on Brevo for Gravity Forms | 82 | 15 | 13 | 1k+ | Text Domain Mismatch | ||
| #3636 | Catch Gallery | 82 | 1 | 35 | 10k+ | Non-prefixed hook name | ||
| #3637 | ForumWP – Forum & Discussion Board | 82 | 22 | 444 | 800 | Non-prefixed global variable | ||
| #3638 | Image Gallery Block | 82 | 13 | 10 | 3k+ | wp function not compatible with requires wp | ||
| #3639 | Infobox | 82 | 15 | 12 | 1k+ | file system operations mkdir | ||
| #3640 | Lazy Load for Videos | 82 | 6 | 37 | 9k+ | Non-prefixed constant | ||
| #3641 | Link Juice Optimizer | 82 | 12 | 6 | 6k+ | Output is not escaped | ||
| #3642 | Multiple Form Instances Add-on for Gravity Forms | 82 | 5 | 5 | 800 | Missing direct file access protection | ||
| #3643 | OpenPix for WooCommerce | 82 | 69 | 28 | 500 | wp function not compatible with requires wp | ||
| #3644 | Parallax Slider Block | 82 | 15 | 12 | 900 | file system operations mkdir | ||
| #3645 | PixTypes | 82 | 178 | 9k+ | Non-prefixed global variable | |||
| #3646 | Image Slider Block | 82 | 13 | 14 | 3k+ | wp function not compatible with requires wp | ||
| #3647 | Super Web Share – Native Social Sharing Button | 82 | 24 | 19 | 2k+ | Non-prefixed function | ||
| #3648 | Testimonial Block | 82 | 13 | 12 | 500 | wp function not compatible with requires wp | ||
| #3649 | Visual Term Description Editor | 82 | 11 | 5 | 10k+ | Missing Arg Domain | ||
| #3650 | Easy Booking – WooCommerce Booking & Reservation Plugin | 82 | 60 | 66 | 4k+ | Non-prefixed global variable |