Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Calling last_active outside of member loop

@rogercoathup

Participant

It’s stored in the wp_user_meta table, and there are some BuddyPress wrapper functions around the standard WordPress get_user_meta() functions.

You should be able to use:

$activity = bp_get_user_meta( $user_id, ‘last_activity’, true );

Let me know if that works.

Cheers, Roger

Skip to toolbar