Commit f7d3cfa2 authored by Canek Peláez's avatar Canek Peláez
Browse files

Hint PHP for the code block.

parent ce7465da
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -17,7 +17,7 @@ page in your WordPress installation when you access it as administrator.
You can disble this, and insert your own PHP code in your theme or widget to
You can disble this, and insert your own PHP code in your theme or widget to
retrieve the page stats and show them as you whish.
retrieve the page stats and show them as you whish.


```
```php
require_once(GA_PAGE_STATS__PLUGIN_DIR . 'class.ga-page-stats.php');
require_once(GA_PAGE_STATS__PLUGIN_DIR . 'class.ga-page-stats.php');
$r = GAPageStats::getPageStats($_SERVER['REQUEST_URI']);
$r = GAPageStats::getPageStats($_SERVER['REQUEST_URI']);
$spv = number_format($r[0]);
$spv = number_format($r[0]);