Maybe we should move those checks after the hook then?
Add custom property to the new and existing user profiles
Hey nodebb community,
I'm just new to nodebb but already did some research about the available hooks. I want to add a custom field to user profiles and found this: https://docs.nodebb.org/nb_NO/latest/plugins/hooks.html#filter-user-custom-fields
The documentation says
Allows you to append custom fields to the newly created user, ex. mobileNumber
what about existing user accounts?
can someone provide sample code on how to add a custom profile field that can be set by new and already existing user accounts?
It's not an answer to your question but, just in case, for researching hooks better to use Github wiki