Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Checking if user has an update or not,


Boone Gorges
Keymaster

@boonebgorges

Yeah, without a $user_id argument, it’ll only work on profile pages. See bp-activity/bp-activity-templatetags.php bp_activity_latest_update().

Try:
`if ( bp_get_activity_latest_update( bp_loggedin_user_id() ) )
bp_activity_latest_update( bp_loggedin_user_id() ); //then show the update
else
// then show this`

Skip to toolbar