dbManager->getAuthorPostIds($userId, $postTypes, $from, $to, $excludeArgs);
$userPostTypes = $this->dbManager->getAuthorPostTypes($userId, $postTypes, $from, $to, $excludeArgs);
$commentsCount = $this->dbManager->getCommentsCount($userId, $postTypes, $from, $to, $excludeArgs);
$taxonomies = wp_get_object_terms($posts, APSWHelper::$taxonomyTypes);
$categoryList = array();
$tagList = array();
$taxonomyList = array();
if ($taxonomies) {
foreach ($taxonomies as $t) {
if ($t->taxonomy == 'category') {
$categoryList[] = $t;
} else if ($t->taxonomy == 'post_tag') {
$tagList[] = $t;
} else {
$taxonomyList[] = $t;
}
}
}
$categoryList = apply_filters('apsw_taxonomy_category', $categoryList);
$tagList = apply_filters('apsw_taxonomy_post_tag', $tagList);
$taxonomyList = apply_filters('apsw_taxonomy_custom', $taxonomyList);
if ($isShowAvatar) {
$profileUrl = get_author_posts_url($userId);
?>
-
labels->name);
?>
-
-
0
-
-
-
-
-
-
-