geno/wp-content/plugins/mailpoet/lib/NewsletterTemplates/BrandStyles.php
2024-02-01 11:54:18 +00:00

24 lines
383 B
PHP

<?php declare(strict_types = 1);
namespace MailPoet\NewsletterTemplates;
if (!defined('ABSPATH')) exit;
use MailPoet\WP\Functions as WPFunctions;
class BrandStyles {
/** @var WPFunctions */
private $wp;
public function __construct(
WPFunctions $wp
) {
$this->wp = $wp;
}
public function isAvailable(): bool {
return $this->wp->wpIsBlockTheme();
}
}