# tier-pricing-table/6.1.0/src/Integrations/Plugins/Elementor/ElementorIntegration.php

Tiered Pricing Table for WooCommerce, version 6.1.0. 35 lines.

- Page: https://pluginprobe.com/plugins/tier-pricing-table/6.1.0/code/src/Integrations/Plugins/Elementor/ElementorIntegration.php
- Raw: https://pluginprobe.com/plugins/tier-pricing-table/6.1.0/raw/src/Integrations/Plugins/Elementor/ElementorIntegration.php
- Modified: 2025-01-07T11:03:20+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.1.0/code/src/Integrations/Plugins/Elementor/ElementorIntegration.php#L10-L20`.

```php
<?php namespace TierPricingTable\Integrations\Plugins\Elementor;

use Elementor\Plugin;
use TierPricingTable\Integrations\Plugins\PluginIntegrationAbstract;

class ElementorIntegration extends PluginIntegrationAbstract {
	
	public function getTitle(): string {
		return __( 'Elementor', 'tier-pricing-table' );
	}
	
	public function getDescription(): string {
		return __( 'Provides the tiered pricing widget with a bunch of settings, such as: display type, active tier color, etc.',
			'tier-pricing-table' );
	}
	
	public function getSlug(): string {
		return 'elementor';
	}
	
	public function getIconURL(): string {
		return $this->getContainer()->getFileManager()->locateAsset( 'admin/integrations/elementor-icon.svg' );
	}
	
	public function getAuthorURL(): string {
		return 'https://wordpress.org/plugins/elementor/';
	}
	
	public function run() {
		add_action( 'elementor/widgets/widgets_registered', function () {
			Plugin::instance()->widgets_manager->register( new ElementorWidget() );
		} );
	}
}

```
