[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.144.96.170: ~ $
<?php declare(strict_types = 1);

namespace MailPoet\Automation\Engine\API;

if (!defined('ABSPATH')) exit;


use MailPoet\API\REST\Endpoint as MailPoetEndpoint;
use MailPoet\Automation\Engine\Engine;

abstract class Endpoint extends MailPoetEndpoint {
  public function checkPermissions(): bool {
    return current_user_can(Engine::CAPABILITY_MANAGE_AUTOMATIONS);
  }
}

Filemanager

Name Type Size Permission Actions
API.php File 1.35 KB 0644
Endpoint.php File 372 B 0644
index.php File 6 B 0644