PluginProbe
Tiered Pricing Table for WooCommerce / 6.4.0
Tiered Pricing Table for WooCommerce v6.4.0
8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 All 91 releases
tier-pricing-table / src / Addons / ReactProductEditorAddon / Blocks / PremiumWrapper.php

PremiumWrapper.php in Tiered Pricing Table for WooCommerce 6.4.0, at src/Addons/ReactProductEditorAddon/Blocks/PremiumWrapper.php

37 lines 752 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php namespace TierPricingTable\Addons\ReactProductEditorAddon\Blocks;
2
3 use TierPricingTable\Addons\ReactProductEditorAddon\Block;
4
5 class PremiumWrapper extends Block {
6
7 public function getCustomBlockFolder(): ?string {
8 return __DIR__ . '/../js/premium-wrapper';
9 }
10
11 public function getId(): string {
12 return 'tiered-pricing-table/premium-wrapper';
13 }
14
15 public function getBlockName(): string {
16 return 'tiered-pricing-table/premium-wrapper';
17 }
18
19 public function getOrder(): int {
20 return 30;
21 }
22
23 public function getSectionId(): string {
24 return '';
25 }
26
27 public function getAttributes(): array {
28 return array(
29 'isPremium' => tpt_fs()->can_use_premium_code(),
30 );
31 }
32
33 public function isCustomBlock(): bool {
34 return true;
35 }
36 }
37