PluginProbe
Metricool – Social media and site statistics / 2.1.1
Metricool – Social media and site statistics v2.1.1
2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.27 trunk
← All changes | app/Features/TaskManagement/TaskManagementLoader.php +29 -0 2.0.1 → 2.1.1 View file →
@@ -1,0 +1,29 @@
1 +<?php
2 +
3 +declare(strict_types=1);
4 +
5 +namespace Metricool\Features\TaskManagement;
6 +
7 +use Metricool\Features\AbstractLoader;
8 +
9 +class TaskManagementLoader extends AbstractLoader
10 +{
11 + /**
12 + * @inheritDoc
13 + */
14 + public function isEnabled(): bool
15 + {
16 + // todo
17 + // return (bool) get_option('metricool_onboarding_completed', false);
18 +
19 + return true;
20 + }
21 +
22 + /**
23 + * @inheritDoc
24 + */
25 + public function inScope(): bool
26 + {
27 + return true; // Should be able to listen everywhere
28 + }
29 +}