PHP Hoisted My Function, and My Plugin Silently Did Nothing
I was assembling a new plugin — six classes, a loader, the usual structure. It installed. It activated. No errors, no warnings, nothing in the log. It also did absolutely nothing. No admin menu, no hooks registered, no classes defined. As far as WordPress was concerned the plugin was active and healthy. As far as … Read more