Create custom field in ’base’ group manually
I am new to BuddyPress and I would like to create custom field in the ‘base’ group through the BuddyPress hooks not through the profile fields admin interface. I have been searching for a tutorial or tips on how to do that but did not find any. I imagine that there would be a function to create that field that will look something like this:
bp_create_field($field_name, $group_id, $data_type, $required, $field_type, $options = array())
and then hooking this function to whatever hooks to dispaly and save that field on the backend and frontend of the website. is that possible? or there is another way to do that?
You must be logged in to reply to this topic.