Customizer – Prefix Class Extension

This is a terrible way to make sure you are in the right context. The normal way is to load your class only when it is really needed, not earlier.

A side effect is that the following code cannot be cached, because that line is evaluated on run time, not on compile time. The same applies to function_exists().

Summary: Don’t do that.