# Add a custom per-user setting in a plugin

**URL:** https://meta.discourse.org/t/add-a-custom-per-user-setting-in-a-plugin/94048
**Category:** Developers
**Tags:** plugin-guides, how-to
**Created:** [August 6, 2018, 8:39pm UTC](https://meta.discourse.org/t/add-a-custom-per-user-setting-in-a-plugin/94048 "2018-08-06T20:39:54Z")
**Posts on this page:** 1
**Showing post:** 26

<div class="post-metadata">

### Author: ![pirhoo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pirhoo/32/527677_2.png) [@pirhoo](https://meta.discourse.org/u/pirhoo)
#### Post date: [December 20, 2023, 4:40pm UTC](https://meta.discourse.org/t/add-a-custom-per-user-setting-in-a-plugin/94048/26 "2023-12-20T16:40:54Z")

</div>

Hello 👋

I’m trying to create a custom user field from a plugin but I’m not sure I fully understand what you’re describing here. In my plugin if I do:

```plaintext
register_editable_user_custom_field 'foo'

```

Should I still use plugin outlets connectors to display it on the user profile and the user card?

Or is there a mechanism like the [custom field in the admin](https://meta.discourse.org/t/create-and-configure-custom-user-fields/113192) that can add it automatically (including in the users directory)? I want to avoid adding connector and serializer field if there is already a way to do this.

Thanks for your help!

---

_[View the full topic](https://meta.discourse.org/t/add-a-custom-per-user-setting-in-a-plugin/94048)._
