-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathwoomp.php
More file actions
31 lines (29 loc) · 1.1 KB
/
woomp.php
File metadata and controls
31 lines (29 loc) · 1.1 KB
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
<?php
/**
* @wordpress-plugin
* Plugin Name: 好用版擴充 MorePower Addon for WooCommerce
* Plugin URI: https://morepower.club/morepower-addon/
* Description: WooCommerce 好用版擴充,改善結帳流程與可變商品等區塊,並整合多項金流,讓 WooCommerce 更符合亞洲人使用習慣。
* Version: 3.5.7
* Author: MorePower
* Author URI: https://morepower.club
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: woomp
* Domain Path: /languages
* WC requires at least: 7.1
* WC tested up to: 6.4.1
*/
/**
* 宣告 HPOS(Custom Order Tables)相容性
*
* @see https://developer.woocommerce.com/docs/hpos-extension-recipe-book/
*/
add_action( 'before_woocommerce_init', function () {
if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__ );
}
} );
require_once 'init.php';
require_once 'debug.php';
require_once 'Compatibility.php';