-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmarketplace-taxes.php
66 lines (61 loc) · 2.13 KB
/
marketplace-taxes.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
/**
* Plugin Name: Marketplace Taxes
* Description: Connect your WooCommerce based marketplace to <a href="https://thepluginpros.com/out/taxjar" target="_blank">TaxJar</a> to automate sales tax calculations, reporting, and filing.
* Author: The Plugin Pros
* Author URI: https://thepluginpros.com
* GitHub Plugin URI: https://github.com/ThePluginPros/marketplace-taxes
* Version: 1.1.7
* Text Domain: marketplace-taxes
* Domain Path: /languages/
*
* Requires at least: 4.4.0
* Tested up to: 5.4.0
* WC requires at least: 3.0.0
* WC tested up to: 4.1.0
*
* @category Plugin
* @copyright Copyright © 2020 The Plugin Pros, LLC
* @author Brett Porcelli
* @license GPL2
*
* Marketplace Taxes is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 2 of the License, or any later
* version.
*
* Marketplace Taxes is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with
* Marketplace Taxes. If not, see http://www.gnu.org/licenses/gpl-2.0.txt.
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
require_once __DIR__ . '/vendor/autoload.php';
require_once __DIR__ . '/includes/class-marketplace-taxes.php';
/**
* Returns the single Marketplace Taxes instance.
*
* @return Marketplace_Taxes
*/
function MT() {
return Marketplace_Taxes::init(
__FILE__,
[
'requires' => [
'php' => '5.6',
'plugins' => [
'woocommerce/woocommerce.php' => [
'name' => __( 'WooCommerce', 'marketplace-taxes' ),
'version' => '3.0.0',
],
],
],
]
);
}
MT();