| 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 |
} |
| 30 |
|