Forum Replies Created
I took a dive into bbPress source code, and ‘bb_get_user_profile_url()’ is the correct function to use to get to a user’s profile. Here’s the source link
And an example usage:
<?php $this_user = wp_get_current_user(); ?> <a href="<?php echo bbp_get_user_profile_url($this_user->ID); ?>edit/">Edit Forum profile</a>
Thanks for giving it a shot. Sorry, the code wasn’t a straight copy and paste and I slightly borked it in the post.
<?php $this_user = wp_get_current_user(); ?> <a href="/forums/users/<?php echo $this_user->user_login; ?>/edit/">Edit Forum profile</a>
You’ll find that this should generate the same URL as you’ve done.