Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: get favorites list

@56alifar

Blocked

Sorry, a bit of a PHP Noob, if I insert the following code in my template:

$topics = get_user_favorites( $user->ID, true );

$favorites_total = isset($user->favorites) ? count(explode(‘,’, $user->favorites)) : 0;

bb_load_template( ‘favorites.php’, array(‘favorites_total’) );

I get an error

Skip to toolbar