| File was renamed from inc/integrations/Umami.php |
| | |
| | | <?php |
| | | namespace JVBase\integrations; |
| | | |
| | | use JVBase\managers\Cache; |
| | | use WP_Error; |
| | | use WP_Post; |
| | | use Exception; |
| | | namespace JVBase\integrations\services; |
| | | use JVBase\integrations\Integrations; |
| | | |
| | | if (!defined('ABSPATH')) { |
| | | exit; |
| | |
| | | 'Login to your <a href="https://cloud.umami.is/settings/websites" target="_blank">umami.is</a> account, select your website, and copy the website ID' |
| | | ]; |
| | | |
| | | parent::__construct($userID); |
| | | parent::__construct(); |
| | | |
| | | $this->actions = array_merge( |
| | | $this->actions, |
| | |
| | | /** |
| | | * Process queued operations |
| | | */ |
| | | public function processOperation(WP_Error|array $result, object $operation, array $data): WP_Error|array |
| | | public function processOperation(array|\WP_Error $result, object $operation, array $data): array|\WP_Error |
| | | { |
| | | $prefix = strtolower($this->service_name) . '_'; |
| | | |