<?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(); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
BrandStyles.php | File | 383 B | 0644 |
|
NewsletterTemplatesRepository.php | File | 4.05 KB | 0644 |
|
TemplateImageLoader.php | File | 2.32 KB | 0644 |
|
ThumbnailSaver.php | File | 4.18 KB | 0644 |
|
index.php | File | 6 B | 0644 |
|