Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: The add_action equivalent off WP edit_user_profile for BP


mediabros
Participant

@mediabros

Hi Boone,

Thanks for the reply, i got a bit further by changing

add_action( ’show_user_profile’, ‘user_show_define_category’ );
add_action( ‘edit_user_profile’, ‘user_show_define_category’ );

into

add_action( ‘bp_after_profile_loop_content’, ‘user_show_define_category’ );
add_action( ‘bp_after_profile_field_content’, ‘user_show_define_category’ );

Now it shows up well on the user frontend profile.

I can’t seem to find the correct way for updating

Do you have a clue what hook to use for personal_options_update and edit_user_profile_update?

add_action( ‘personal_options_update’, ‘user_save_define_category’ );
add_action( ‘edit_user_profile_update’, ‘user_save_define_category’ );

Skip to toolbar