File manager - Edit - /home/carfac/public_html/rephotonet/wordpress/wp-content/plugins/wp-statistics/src/Service/Charts/AbstractChartDataProvider.php
Back
<?php namespace WP_Statistics\Service\Charts; use WP_STATISTICS\Option; abstract class AbstractChartDataProvider { protected $args; public function __construct($args = []) { $this->args = $args; } /** * Determines if previous data is enabled for charts. * * @return bool Returns true if previous data is enabled, false otherwise. */ protected function isPreviousDataEnabled() { if (!empty($this->args['prev_data'])) { return true; } return Option::get('charts_previous_period', 1) ? true : false; } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings