installed plugin WP-Matomo Integration version 1.0.27

This commit is contained in:
2022-03-31 14:08:19 +00:00
committed by Gitium
parent 6316f81725
commit dbc3ae04ae
137 changed files with 51502 additions and 0 deletions

View File

@ -0,0 +1,21 @@
<?php
namespace WP_Piwik\Widget;
class Keywords extends \WP_Piwik\Widget {
public $className = __CLASS__;
protected function configure($prefix = '', $params = array()) {
$timeSettings = $this->getTimeSettings();
$this->parameter = array(
'idSite' => self::$wpPiwik->getPiwikSiteId($this->blogId),
'period' => $timeSettings['period'],
'date' => $timeSettings['date']
);
$this->title = $prefix.__('Keywords', 'wp-piwik').' ('.__($timeSettings['description'],'wp-piwik').')';
$this->method = 'Referrers.getKeywords';
$this->name = 'Keyword';
}
}