dbManager->getAuthorPopularPostsByViews($userId, $from, $to, $postTypes, $limit, $excludeArgs); if ($ppByViews) { foreach ($ppByViews as $post) { $id = $post['post_id']; $viewCount = intval($post['view_count']); $title = APSWHelper::getSubstringedString($post['title']); $postUrl = get_permalink($id); ?>
  • optionsSerialized->postDefaultThumbnail) { $thumb = $this->optionsSerialized->postDefaultThumbnail; } else { $thumb = apply_filters('apsw_post_thumbnail', plugins_url(APSW_DIR_NAME . '/assets/img/icon_thumb_default.png'), $id); } } ?>

    dbManager->getAuthorPopularPostsByComments($userId, $from, $to, $postTypes, $limit, $excludeArgs); if ($ppByComments) { foreach ($ppByComments as $post) { $id = $post['post_id']; $viewCount = intval($post['comment_count']); $title = APSWHelper::getSubstringedString($post['title']); $postUrl = get_permalink($id); ?>
  • optionsSerialized->postDefaultThumbnail) { $thumb = $this->optionsSerialized->postDefaultThumbnail; } else { $thumb = apply_filters('apsw_post_thumbnail', plugins_url(APSW_DIR_NAME . '/assets/img/icon_thumb_default.png'), $id); } } ?>