diff --git a/includes/class-hvac-community-events.php b/includes/class-hvac-community-events.php index 2823ffb6..c90363df 100644 --- a/includes/class-hvac-community-events.php +++ b/includes/class-hvac-community-events.php @@ -167,13 +167,13 @@ class HVAC_Community_Events { // Initialize TEC field processor system $this->init_tec_field_processor(); - // Authentication checks - these should eventually move to HVAC_Access_Control - add_action('template_redirect', array($this, 'check_event_summary_auth')); - add_action('template_redirect', array($this, 'check_email_attendees_auth')); - add_action('template_redirect', array($this, 'check_certificate_pages_auth')); - // Disabled: Using centralized access control in HVAC_Access_Control instead + // Authentication checks - DISABLED: All moved to centralized HVAC_Access_Control system + // The following legacy auth checks are now handled by HVAC_Access_Control::check_page_access() + // add_action('template_redirect', array($this, 'check_event_summary_auth')); + // add_action('template_redirect', array($this, 'check_email_attendees_auth')); + // add_action('template_redirect', array($this, 'check_certificate_pages_auth')); // add_action('template_redirect', array($this, 'check_master_dashboard_auth')); - add_action('template_redirect', array($this, 'check_google_sheets_auth')); + // add_action('template_redirect', array($this, 'check_google_sheets_auth')); add_action('template_redirect', array($this, 'ensure_registration_page_public'), 1); // Scripts and styles are now handled by HVAC_Scripts_Styles