Tag Info

Hot answers tagged


The user_register hook probably fires too early. Try: add_action( 'bp_core_signup_user', 'auto_login_new_user', 100, 1 ); $user_id is passed by the bp_core_signup_user hook.


Please check the code below. I guess you are facing 404 because it's not getting the slug & the url properly. add_action( 'bp_setup_nav', 'mb_bp_profile_menu_posts' ); function mb_bp_profile_menu_posts() { global $bp; bp_core_new_nav_item( array( 'name' => 'My Posts', 'slug' => ...

Only top voted, non community-wiki answers of a minimum length are eligible