Favoritos

/** * Get an array of User Favorites * @param $user_id int, defaults to current user * @param $site_id int, defaults to current blog/site * @param $filters array of post types/taxonomies * @return array */ get_user_favorites($user_id = null, $site_id = null, $filters = null); /** * HTML List of User Favorites * @param $user_id int, defaults to current user * @param $site_id int, defaults to current blog/site * @param $include_links bool, whether to wrap the post title with the permalink * @param $filters array of post types/taxonomies * @param $include_button boolean, whether to include the favorite button for each item * @param $include_thumbnails boolean, whether to include the thumbnail for each item * @param $thumbnail_size string, the thumbnail size to display * @param $include_excerpt boolean, whether to include the excerpt for each item * @return html */ get_user_favorites_list($user_id = null, $site_id = null, $include_links = false, $filters = null, $include_button = false, $include_thumbnails=false, $thumbnail_size=’thumbnail’, $include_excerpt=false); /** * Echo HTML List of User Favorites * @param $user_id int, defaults to current user * @param $site_id int, defaults to current blog/site * @param $include_links bool, whether to wrap the post title with the permalink * @param $filters array of post types/taxonomies * @param $include_button boolean, whether to include the favorite button for each item * @param $include_thumbnails boolean, whether to include the thumbnail for each item * @param $thumbnail_size string, the thumbnail size to display * @param $include_excerpt boolean, whether to include the excerpt for each item * @return html */ the_user_favorites_list($user_id = null, $site_id = null, $include_links = false, $filters = null, $include_button = false, $include_thumbnails = false, $thumbnail_size = ‘thumbnail’, $include_excerpt = false);