从主题或插件中使用插件出口连接器

What do you mean by “get the current outlet”? You want the name of the outlet? Or something else?