Functions

Unlock advanced capabilities using custom code from.

Sanitize User IP

If the IP value returned from your server has a special character, you can sanitize user IP by using: wp_statistics_sanitize_user_ip filter in your WordPress for getting real user IP from…

Shortcodes

With WP Statistics, you can display different statistics using shortcodes in posts, pages, and HTML widgets. General Shortcode Format To use WP Statistics shortcodes, follow the format below: Parameters This…

Function API

WP Statistics supports several functions for other plugins and theme authors in order to retrieve statistics on sites. All of the external functions can be found here: wp-statistics\includes\functions\functions.php Function Description…

wp_statistics_useronline()

Let’s get started
Take your business to next level

Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.