Can’t Access Constant from within Included File

The Problem here is that the Template Files get processed before the wp_footer action, so your constant is not defined at that stage.

Just to be sure, try hooking your constructor of the class to an action that is called earlier, I don’t really know how early you need it, but try init. You could also construct your class when the Plugin is loaded, then you should be on the safe side.

techhipbettruvabetnorabahisbahis forumutaraftarium24eduedusedueduedueduseduseduedusedus