The add_action equivalent off WP edit_user_profile for BP
-
I have a function that add some custom profile fields in to the user profile in the backend wp-admin/profile.php. This is WordPress only so do not get confused.
here you can find the function
http://justintadlock.com/archives/2009/09/10/adding-and-using-custom-user-profile-fields
There are four actions added.
add_action( ‘show_user_profile’, ‘user_show_define_category’ );
add_action( ‘edit_user_profile’, ‘user_show_define_category’ );
add_action( ‘personal_options_update’, ‘user_save_define_category’ );
add_action( ‘edit_user_profile_update’, ‘user_save_define_category’ );The function will add a input field into the backend user profile of WP. /wp-admin/profile.php
What i am looking for are the equivalents of the WP show_user_profile, edit_user_profile, personal_options_update and edit_user_profile_update for Buddypress.
So that the input field will show up on the frontend profile in g.e. /members/username/profile and /members/username/profile/edit/group/1
so
instead off
add_action( ‘show_user_profile’, ‘user_show_define_category’ );
something like
add_action( ‘show_buddypress_user_profile’, ‘user_show_define_category’ );
- The topic ‘The add_action equivalent off WP edit_user_profile for BP’ is closed to new replies.