init(); } return self::$instance; } /** * Initialize hooks. */ public function init() { // REMOVED: Hooks for processing form submissions (admin_post_hvac_save_event) // add_action( 'admin_post_hvac_save_event', [ $this, 'process_event_submission' ] ); // add_action( 'admin_post_nopriv_hvac_save_event', [ $this, 'process_event_submission' ] ); // Handle non-logged-in attempts if necessary // REMOVED: Shortcode registration for [hvac_event_form] // add_shortcode( 'hvac_event_form', [ $this, 'display_event_form_shortcode' ] ); } // REMOVED: display_event_form_shortcode method as we will link to the default TEC CE form page. // REMOVED: process_event_submission method as TEC CE shortcode handles its own submission. // REMOVED: can_user_edit_event helper method as it's no longer used. } // Instantiate the class HVAC_Event_Handler::get_instance();