Hi guys, and thanks to Robin for a great piece of software!
I have a website with a bbp forum and with User Registration plugin I will also gather marketing consent and get users to accept the T&C (with checkboxes).
The question is how can I get this info, which can be found in the WP user profile, to the bbp profile page? Would be even more awesome if the user could check or uncheck their marketing consent, for example, in their profile.
add_action( 'show_user_profile', 'xxx', 50,2 ) ;
//does the display/edit if viewing another's profile
add_action( 'edit_user_profile', 'xxx', 50,2 ) ;
//does the save if viewing own profile
add_action( 'personal_options_update', 'xxx' );
//does the save if viewing another's profile
add_action( 'edit_user_profile_update', 'xxx' );
but would need user registration to tell you what functions to put in the xxx