installed plugin WP-Matomo Integration
version 1.0.27
This commit is contained in:
10
wp-content/plugins/wp-piwik/update/2021070701.php
Normal file
10
wp-content/plugins/wp-piwik/update/2021070701.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
// Set range for per post stats
|
||||
if (self::$settings->getGlobalOption('perpost_stats')) {
|
||||
self::$settings->setGlobalOption('perpost_stats', "last30");
|
||||
} else {
|
||||
self::$settings->setGlobalOption('perpost_stats', "disabled");
|
||||
}
|
||||
|
||||
self::$settings->save ();
|
Reference in New Issue
Block a user