-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathry-woocommerce-tools-pro.php
More file actions
39 lines (32 loc) · 1.11 KB
/
ry-woocommerce-tools-pro.php
File metadata and controls
39 lines (32 loc) · 1.11 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
32
33
34
35
36
37
38
39
<?php
/**
* Plugin Name: RY Tools (Pro) for WooCommerce
* Plugin URI: https://ry-plugin.com/ry-woocommerce-tools-pro/
* Description: WooCommerce payment and shipping tools
* Version: 3.7.5
* Requires at least: 6.8
* Requires PHP: 8.2
* Requires Plugins: ry-woocommerce-tools
* Author: Richer Yang
* Author URI: https://richer.tw/
* License: GPLv3
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt
* Update URI: https://ry-plugin.com/ry-woocommerce-tools-pro
*
* Text Domain: ry-woocommerce-tools-pro
* Domain Path: /languages
*/
defined('ABSPATH') or exit;
define('RY_WTP_VERSION', '3.7.5');
define('RY_WTP_PLUGIN_URL', plugin_dir_url(__FILE__));
define('RY_WTP_PLUGIN_DIR', plugin_dir_path(__FILE__));
define('RY_WTP_PLUGIN_BASENAME', plugin_basename(__FILE__));
define('RY_WTP_PLUGIN_LANGUAGES_DIR', plugin_dir_path(__FILE__) . '/languages');
require_once RY_WTP_PLUGIN_DIR . 'includes/main.php';
register_activation_hook(__FILE__, ['RY_WTP', 'plugin_activation']);
register_deactivation_hook(__FILE__, ['RY_WTP', 'plugin_deactivation']);
function RY_WTP(): RY_WTP
{
return RY_WTP::instance();
}
RY_WTP();