fix: Instantiate HVAC Settings class to register admin menu

This commit is contained in:
bengizmo 2025-05-19 14:49:18 -03:00
parent 06df5c93f0
commit 0817dab7e8

View file

@ -122,6 +122,9 @@ class HVAC_Community_Events {
// Initialize roles
$this->init_roles();
// Initialize settings (admin menu)
$this->init_settings();
// Initialize forms
$this->init_forms();
@ -142,6 +145,13 @@ class HVAC_Community_Events {
// Note: Role creation is handled in the activate method or the class constructor
}
/**
* Initialize settings
*/
private function init_settings() {
new HVAC_Settings();
}
/**
* Initialize forms
*/