# tier-pricing-table/6.5.0/src/Addons/ReactProductEditorAddon/Blocks/TieredPricing.php

Tiered Pricing Table for WooCommerce, version 6.5.0. 38 lines.

- Page: https://pluginprobe.com/plugins/tier-pricing-table/6.5.0/code/src/Addons/ReactProductEditorAddon/Blocks/TieredPricing.php
- Raw: https://pluginprobe.com/plugins/tier-pricing-table/6.5.0/raw/src/Addons/ReactProductEditorAddon/Blocks/TieredPricing.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.5.0/code/src/Addons/ReactProductEditorAddon/Blocks/TieredPricing.php#L10-L20`.

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

use TierPricingTable\Addons\ReactProductEditorAddon\Block;
use TierPricingTable\Addons\ReactProductEditorAddon\Sections\MainSection;

class TieredPricing extends Block {
	
	public function getCustomBlockFolder(): string {
		return __DIR__ . '/../js/tiered-pricing';
	}
	
	public function getId(): string {
		return 'tiered-pricing-table/product-editor-tiered-pricing';
	}
	
	public function getBlockName(): string {
		return 'tiered-pricing-table/product-editor-tiered-pricing';
	}
	
	public function getOrder(): int {
		return 10;
	}
	
	public function getSectionId(): string {
		return MainSection::ID;
	}
	
	public function getAttributes(): array {
		return array(
			'isPremium' => tpt_fs()->can_use_premium_code(),
		);
	}
	
	public function isCustomBlock(): bool {
		return true;
	}
}

```
