# Important changes to Plugin Outlets for Ember 2.10

**URL:** <https://meta.discourse.org/t/important-changes-to-plugin-outlets-for-ember-2-10/54136>\
**Category:** Development\
**Created:** [December 12, 2016, 7:14pm UTC](https://meta.discourse.org/t/important-changes-to-plugin-outlets-for-ember-2-10/54136 "2016-12-12T19:14:38Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [December 15, 2016, 4:56pm UTC](https://meta.discourse.org/t/important-changes-to-plugin-outlets-for-ember-2-10/54136/8 "2016-12-15T16:56:56Z")

</div>

Okay I’ve addeed a Plugin API (version 0.6) to register a connector class. If you’re writing a full plugin I recommend you don’t use this and let the connector class be automatically resolved, but if you’re using a customization this will work:

[https://github.com/discourse/discourse/commit/250ca114167ca10701cd1dded33f2f4b37ac29a3](https://github.com/discourse/discourse/commit/250ca114167ca10701cd1dded33f2f4b37ac29a3)

Sample:

```javascript
api.registerConnectorClass('user-profile-primary', 'my-connector', {
  shouldRender(args, component) {
    return component.siteSettings.my_plugin_enabled;
  }
});

```

---

_[View the full topic](https://meta.discourse.org/t/important-changes-to-plugin-outlets-for-ember-2-10/54136)._
