PluginProbe ʕ •ᴥ•ʔ
Checkout Field Editor (Checkout Manager) for WooCommerce / 2.0.5
Checkout Field Editor (Checkout Manager) for WooCommerce v2.0.5
1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.2 1.5.3 1.6.0 1.6.1 1.7.0 1.7.1 1.7.2 1.8.0 1.8.1 1.8.2 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 trunk 1.0.9 1.2.0 1.2.5 1.2.8 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8
woo-checkout-field-editor-pro / checkout-form-designer.php
woo-checkout-field-editor-pro Last commit date
admin 1 year ago includes 1 year ago languages 1 year ago public 1 year ago changelog.txt 1 year ago checkout-form-designer.php 1 year ago readme.txt 1 year ago
checkout-form-designer.php
48 lines
1 <?php
2 /**
3 * Plugin Name: Checkout Field Editor for WooCommerce
4 * Description: Customize WooCommerce checkout fields(Add, Edit, Delete and re-arrange fields).
5 * Author: ThemeHigh
6 * Version: 2.0.5
7 * Author URI: https://www.themehigh.com
8 * Plugin URI: https://www.themehigh.com
9 * Text Domain: woo-checkout-field-editor-pro
10 * Domain Path: /languages
11 * WC requires at least: 3.0.0
12 * WC tested up to: 9.4
13 */
14
15 if(!defined( 'ABSPATH' )) exit;
16
17 if (!function_exists('is_woocommerce_active')){
18 function is_woocommerce_active(){
19 $active_plugins = (array) get_option('active_plugins', array());
20 if(is_multisite()){
21 $active_plugins = array_merge($active_plugins, get_site_option('active_sitewide_plugins', array()));
22 }
23 return in_array('woocommerce/woocommerce.php', $active_plugins) || array_key_exists('woocommerce/woocommerce.php', $active_plugins) || class_exists('WooCommerce');
24 }
25 }
26
27 if(is_woocommerce_active()) {
28 define('THWCFD_VERSION', '2.0.5');
29 !defined('THWCFD_BASE_NAME') && define('THWCFD_BASE_NAME', plugin_basename( __FILE__ ));
30 !defined('THWCFD_PATH') && define('THWCFD_PATH', plugin_dir_path( __FILE__ ));
31 !defined('THWCFD_URL') && define('THWCFD_URL', plugins_url( '/', __FILE__ ));
32
33 #require THWCFD_PATH . 'classes/class-thwcfd.php';
34 require plugin_dir_path( __FILE__ ) . 'includes/class-thwcfd.php';
35
36 function run_thwcfd() {
37 $plugin = new THWCFD();
38 }
39 run_thwcfd();
40 }
41
42 add_action( 'before_woocommerce_init', 'thwcfd_before_woocommerce_init_hpos' ) ;
43
44 function thwcfd_before_woocommerce_init_hpos() {
45 if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) {
46 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
47 }
48 }