-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwc-variation-images.php
57 lines (53 loc) · 2.08 KB
/
wc-variation-images.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
<?php
/**
* Plugin Name: WC Variation Images
* Plugin URI: https://pluginever.com/plugins/wc-variation-images-pro
* Description: Adds additional gallery images per product variation.
* Version: 1.2.0
* Author: PluginEver
* Author URI: https://pluginever.com
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: wc-variation-images
* Domain Path: languages/
* Requires Plugins: woocommerce
* Requires at least: 5.2
* Tested up to: 6.7
* Requires PHP: 7.4
* WC requires at least: 6.0.0
* WC tested up to: 9.5
*
* @package WooCommerceVariationImages
*/
/**
* Copyright (c) 2025 PluginEver (email : [email protected])
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2 or, at
* your discretion, any later version, as published by the Free
* Software Foundation.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
// don't call the file directly.
defined( 'ABSPATH' ) || exit();
// Require the autoloader.
require_once __DIR__ . '/vendor/autoload.php';
require_once __DIR__ . '/vendor-prefixed/autoload.php';
// Instantiate the plugin.
WooCommerceVariationImages\Plugin::create(
array(
'file' => __FILE__,
'settings_url' => admin_url( 'admin.php?page=wc-variation-images' ),
'docs_url' => 'https://pluginever.com/docs/wc-variation-images/',
'support_url' => 'https://pluginever.com/support/',
'review_url' => 'https://wordpress.org/support/plugin/wc-variation-images/reviews/#new-post',
)
);