Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: get favorites list


chrishajer
Participant

@chrishajer

Was that snippet of code wrapped in <?php tags ?>?

<?php
$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') );
?>

Skip to toolbar