Documentation Guides How to remove WP Statistics HTML comment in page source?

How to remove WP Statistics HTML comment in page source?

After installing WP Statistics on your website, you will have the HTML comment below in your website’s resources.

<!– Analytics by WP Statistics v*.*.* – https://wp-statistics.com/ –>

Due to privacy matters, some might not prefer this comment showing. To remove this frontend comment, You would only need to add the filter below in your current theme’s functions.php file and you will be good to go!

add_filter('wp_statistics_html_comment', '__return_false');