PluginProbe
Tiered Pricing Table for WooCommerce / 6.1.0
Tiered Pricing Table for WooCommerce v6.1.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 / Integrations / Plugins / Elementor / ElementorIntegration.php

ElementorIntegration.php in Tiered Pricing Table for WooCommerce 6.1.0, at src/Integrations/Plugins/Elementor/ElementorIntegration.php

35 lines 1011 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php namespace TierPricingTable\Integrations\Plugins\Elementor;
2
3 use Elementor\Plugin;
4 use TierPricingTable\Integrations\Plugins\PluginIntegrationAbstract;
5
6 class ElementorIntegration extends PluginIntegrationAbstract {
7
8 public function getTitle(): string {
9 return __( 'Elementor', 'tier-pricing-table' );
10 }
11
12 public function getDescription(): string {
13 return __( 'Provides the tiered pricing widget with a bunch of settings, such as: display type, active tier color, etc.',
14 'tier-pricing-table' );
15 }
16
17 public function getSlug(): string {
18 return 'elementor';
19 }
20
21 public function getIconURL(): string {
22 return $this->getContainer()->getFileManager()->locateAsset( 'admin/integrations/elementor-icon.svg' );
23 }
24
25 public function getAuthorURL(): string {
26 return 'https://wordpress.org/plugins/elementor/';
27 }
28
29 public function run() {
30 add_action( 'elementor/widgets/widgets_registered', function () {
31 Plugin::instance()->widgets_manager->register( new ElementorWidget() );
32 } );
33 }
34 }
35