Title: function wp_statistics_get_top_pages
Last modified: August 20, 2020

---

# function wp_statistics_get_top_pages

 *  [sjones2701](https://wordpress.org/support/users/sjones2701/)
 * (@sjones2701)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/function-wp_statistics_get_top_pages/)
 * I have the plugin working and generating stats, but I cannot, for the life of
   me, figure out how to get the daily top 10 page hits listed in the daily report
   email, using the following function: wp_statistics_get_top_pages.
 * All other items work fine. I did try creating a snippet as well as trying to 
   find the shortcode to call it up, but had no success. I just cannot figure out
   how to have that data included in the daily notification email. Thanks in advance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffunction-wp_statistics_get_top_pages%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘function wp_statistics_get_top_pages’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 0 replies
 * 1 participant
 * Last reply from: [sjones2701](https://wordpress.org/support/users/sjones2701/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/function-wp_statistics_get_top_pages/)
 * Status: not resolved