Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Show wire and user activity in blog instead of profile


Mariusooms
Participant

@mariusooms

I imagine you have to use this function, which is a wp function for the current logged in user:

<?php get_current_user_id(); ?>

and have that set the bp id so you can use that id in bp functions.

<?php bp_current_user_id(); ?>

I tried a few things, but didn’t get any results unfortunately. Maybe a more experienced user could help. I remeber there are some answers in the forums as to how to pass the current blog user id as bp user id. Maybe do another search on that.

Regards,

Marius

Skip to toolbar