# tier-pricing-table/8.0.2/src/Addons/ReactProductEditorAddon/ReactProductEditorAddon.php

Tiered Pricing Table for WooCommerce, version 8.0.2. 39 lines.

- Page: https://pluginprobe.com/plugins/tier-pricing-table/8.0.2/code/src/Addons/ReactProductEditorAddon/ReactProductEditorAddon.php
- Raw: https://pluginprobe.com/plugins/tier-pricing-table/8.0.2/raw/src/Addons/ReactProductEditorAddon/ReactProductEditorAddon.php
- Modified: 2026-09-24T13:05:34+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/8.0.2/code/src/Addons/ReactProductEditorAddon/ReactProductEditorAddon.php#L10-L20`.

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

use TierPricingTable\Addons\AbstractAddon;

class ReactProductEditorAddon extends AbstractAddon {
	
	public function getName(): string {
		return __( 'WooCommerce Product Editor integration', 'tier-pricing-table' );
	}
	
	public function getDescription(): string {
		return __( 'Enable support for WooCommerce\'s React-based product editor.', 'tier-pricing-table' );
	}
	
	public function getIcon(): string {
		return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"/></svg>';
	}
	
	public function getSlug(): string {
		return 'woocommerce-react-product-editor';
	}
	
	public function run() {
		new ProductEditor();
	}
	
	protected function isActiveByDefault(): bool {
		return false;
	}
	
	/**
	 * Not listed in the module list: the integration is experimental and switched on by its option only
	 * (a store that enabled it earlier keeps it).
	 */
	public function addToAddonsSettings( $addons ) {
		return $addons;
	}
}

```
