WordPress

Two helpful functions to build better WordPress plugins

When writing a plugin, it’s important to realize one thing about WordPress: Everyone’s WordPress site is a hot mess. I’m joking. Kinda. Seriously though, everybody uses WordPress differently, so you need to account for that. These 2 PHP functions will help you avoid errors in strange WordPress environments: class_exists() and function_exists(). Avoiding Errors With Plugin

Two helpful functions to build better WordPress plugins Read More »