# tier-pricing-table/6.4.0/src/Addons/ReactProductEditorAddon/Blocks/PremiumWrapper.php

Tiered Pricing Table for WooCommerce, version 6.4.0. 37 lines.

- Page: https://pluginprobe.com/plugins/tier-pricing-table/6.4.0/code/src/Addons/ReactProductEditorAddon/Blocks/PremiumWrapper.php
- Raw: https://pluginprobe.com/plugins/tier-pricing-table/6.4.0/raw/src/Addons/ReactProductEditorAddon/Blocks/PremiumWrapper.php
- Modified: 2024-08-19T12:44:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/tier-pricing-table/6.4.0/code/src/Addons/ReactProductEditorAddon/Blocks/PremiumWrapper.php#L10-L20`.

```php
<?php namespace TierPricingTable\Addons\ReactProductEditorAddon\Blocks;

use TierPricingTable\Addons\ReactProductEditorAddon\Block;

class PremiumWrapper extends Block {
	
	public function getCustomBlockFolder(): ?string {
		return __DIR__ . '/../js/premium-wrapper';
	}
	
	public function getId(): string {
		return 'tiered-pricing-table/premium-wrapper';
	}
	
	public function getBlockName(): string {
		return 'tiered-pricing-table/premium-wrapper';
	}
	
	public function getOrder(): int {
		return 30;
	}
	
	public function getSectionId(): string {
		return '';
	}
	
	public function getAttributes(): array {
		return array(
			'isPremium' => tpt_fs()->can_use_premium_code(),
		);
	}
	
	public function isCustomBlock(): bool {
		return true;
	}
}

```
