code: public void hookSiteMapListener(SiteMapPanel siteMapPanel) {
          for (ExtensionHook hook : extensionHooks.values()) {
              hookSiteMapListeners(siteMapPanel, hook.getSiteMapListenerList());
          }
      }
docs: ZAP: Added support for site map listeners