PluginProbe
Tiered Pricing Table for WooCommerce / 1.0
Tiered Pricing Table for WooCommerce v1.0
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 2.3.4 All 90 releases
tier-pricing-table / tier-pricing-table.php

tier-pricing-table.php in Tiered Pricing Table for WooCommerce 1.0, at tier-pricing-table.php

37 lines 1005 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 use TierPricingTable\TierPricingTablePlugin;
4
5 /**
6 *
7 * Plugin Name: WooCommerce Tier Pricing Table
8 * Description: Allow set price for certain count of price. Shows pricing table. Supports displaying table in tooltip
9 * Version: 1.0
10 * Author: bycrik
11 * License: GPLv2 or later
12 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
13 * Text Domain: tier-pricing-table
14 * Domain Path: /languages
15 *
16 * WC requires at least: 3.0
17 */
18
19 // If this file is called directly, abort.
20 if ( ! defined( 'WPINC' ) ) {
21 die;
22 }
23
24 call_user_func( function () {
25
26 require_once plugin_dir_path( __FILE__ ) . 'vendor/autoload.php';
27
28 $main = new TierPricingTablePlugin( __FILE__ );
29
30 register_activation_hook( __FILE__, [ $main, 'activate' ] );
31
32 register_deactivation_hook( __FILE__, [ $main, 'deactivate' ] );
33
34 register_uninstall_hook( __FILE__, [ TierPricingTablePlugin::class, 'uninstall' ] );
35
36 $main->run();
37 } );