Adding custom user profile type
I wish to add a “US States” drop-down select menu as an additional option when creating a new profile field. I’ve managed to do this by modifying the core files. Namely, “bp-xprofile/bp-xprofile-classes.php” within the method “render_admin_form_children()”. I know it’s generally not a good idea to modify the core files directly, but I am lost on where to start customizing something of this nature. Anyone have a better way to do this? I’ve tried looking into different actions I can plug into via my own functions.php but am not quite catching on. Could someone point me in the right direction? Any help is greatly appreciated!
The topic ‘Adding custom user profile type’ is closed to new replies.