<?php

namespace EasyLinkAutomations\Utils;

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

/**
 * WordPress capability checker.
 */
final class Capabilities
{
    public static function check(string $capability, mixed ...$args): bool
    {
        return current_user_can($capability, ...$args);
    }
}
