apsw_db_helper->get_author_all_posts_count($apsw_user_id, $from, $to); $author_cats = $this->apsw_db_helper->get_author_posts_categories($apsw_user_id); $author_tags = $this->apsw_db_helper->get_author_posts_tags($apsw_user_id); $author_profile_url = APSW_Helper::get_profile_url(get_user_by('id', $apsw_user_id)); $author_taxonomies = array(); if ($this->apsw_options_serialized->custom_taxonomy_types) { $author_taxonomies = $this->apsw_db_helper->get_author_posts_taxonomies($apsw_user_id); } $posts_limit = $this->apsw_options_serialized->popular_posts_limit; ?>
roles) && in_array('subscriber', $apsw_user->roles)) || ($this->apsw_options_serialized->is_stats_on_all_pages && is_user_logged_in())) { ?>
apsw_options_serialized->is_display_author_avatar) { ?>
roles) && !in_array('subscriber', $apsw_user->roles)) { ?>
apsw_options_serialized->is_display_author_name) { ?>
roles) && !in_array('subscriber', $apsw_user->roles)) { ?> display_name; ?> display_name; } ?>
  • apsw_db_helper->get_author_all_posts_count($apsw_user_id, $from, $to); ?>
  • apsw_db_helper->get_comments_count_by_author($apsw_user_id); ?>
  •  
      $value) { ?>
  •  
      $value) { ?>
    •    
  •  
roles) && !in_array('subscriber', $apsw_user->roles)) { ?>
    apsw_options_serialized->is_popular_posts_by_post_views == 1) { $author_popular_posts = $this->apsw_db_helper->get_author_popular_posts_by_view_count($apsw_user_id, $from, $to, $posts_limit); foreach ($author_popular_posts as $author_popular_post) { $post_id = $author_popular_post['post_id']; $post_title = $author_popular_post['p_title']; $post_views_count = $author_popular_post['view_count']; ?>
  • <?php _e('views', APSW_Core::$APSW_TEXT_DOMAIN) ?>
  • apsw_db_helper->get_author_popular_posts_by_commment_count($apsw_user_id, $from, $to, $posts_limit); foreach ($author_popular_posts as $author_popular_post) { $post_id = $author_popular_post['post_id']; $post_title = $author_popular_post['p_title']; $post_comments_count = $author_popular_post['c_count']; $comment_status = $author_popular_post['c_status']; ?>
  • <?php _e('comments', APSW_Core::$APSW_TEXT_DOMAIN) ?> <?php _e('comments', APSW_Core::$APSW_TEXT_DOMAIN) ?>