We are creating WP users from a CodeIgniter membership management system and would like to populate and update a few bp profile fields at the same time.
Have found these functions;-
Looking promising so far.
Have got stuck thus far:-
$wppath = $this->config->item('wppath');
$profile_data = get_all_for_user((int)2);
Call to undefined function get_all_for_user()
can anyone help please?