New answers tagged

0

It sounds like you are using a bp_has_members loop on some page. I don't think you can change a define while in a loop. In that loop, do you have this code? <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a> And / Or: <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ...


0

You may want to wait until the user is activated by BuddyPress. Try using this hook: do_action( 'bp_core_activated_user', $user_id, $key, $user ); Located in: buddypress\bp-members\bp-members-functions.php in function bp_core_activate_signup


2

//This action hook allows you to access data for a new user immediately after they are added to the database. The user id is passed to hook as an argument. do_action( 'user_register', $user_id ); so you could: add_action('user_register','my_user_register_function'); function my_user_register_function($user_id) { $user = get_user_by( 'ID', $user_id ...



Top 50 recent answers are included