Gets the data used by the “Top Posts” widget.
Our Top Posts widget (http://en.support.wordpress.com/widgets/top-posts-widget/) uses a display_top_posts() function to display a list of popular posts. You can use this function in your themes. The function uses data from WordPress.com Stats (http://en.support.wordpress.com/stats/) to generate the list.
If you would like more control over the output of display_top_posts(), use the get_top_posts() function.
Note: in the results, post_ID = 0 is used to track home page views.
|$number||int||Optional. At least 10 posts are always returned; this parameter controls how many extra you want. Valid values: 1-10 (default is 10).|
|$days||int||Optional. How many days of stats should be used in the calculation; defaults to 2.|