| 1 |
<?php |
| 2 |
/* |
| 3 |
Plugin Name: WPC Admin Columns |
| 4 |
Plugin URI: https://wpclever.net/ |
| 5 |
Description: Manage and organize columns in the products, orders, and any post-types lists in the admin panel. |
| 6 |
Version: 2.3.0 |
| 7 |
Author: WPClever |
| 8 |
Author URI: https://wpclever.net |
| 9 |
Text Domain: wpc-admin-columns |
| 10 |
Domain Path: /languages/ |
| 11 |
Requires at least: 4.0 |
| 12 |
Tested up to: 6.9 |
| 13 |
Playground: true |
| 14 |
License: GPLv2 or later |
| 15 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 16 |
*/ |
| 17 |
|
| 18 |
defined( 'ABSPATH' ) || exit; |
| 19 |
|
| 20 |
! defined( 'WPCAC_VERSION' ) && define( 'WPCAC_VERSION', '2.3.0' ); |
| 21 |
! defined( 'WPCAC_LITE' ) && define( 'WPCAC_LITE', __FILE__ ); |
| 22 |
! defined( 'WPCAC_FILE' ) && define( 'WPCAC_FILE', __FILE__ ); |
| 23 |
! defined( 'WPCAC_URI' ) && define( 'WPCAC_URI', plugin_dir_url( __FILE__ ) ); |
| 24 |
! defined( 'WPCAC_DIR' ) && define( 'WPCAC_DIR', plugin_dir_path( __FILE__ ) ); |
| 25 |
! defined( 'WPCAC_REVIEWS' ) && define( 'WPCAC_REVIEWS', 'https://wordpress.org/support/plugin/wpc-admin-columns/reviews/' ); |
| 26 |
! defined( 'WPCAC_SUPPORT' ) && define( 'WPCAC_SUPPORT', 'https://wpclever.net/support?utm_source=support&utm_medium=wpcac&utm_campaign=wporg' ); |
| 27 |
! defined( 'WPCAC_CHANGELOG' ) && define( 'WPCAC_CHANGELOG', 'https://wordpress.org/plugins/wpc-admin-columns/#developers' ); |
| 28 |
! defined( 'WPCAC_DISCUSSION' ) && define( 'WPCAC_DISCUSSION', 'https://wordpress.org/support/plugin/wpc-admin-columns' ); |
| 29 |
! defined( 'WPC_URI' ) && define( 'WPC_URI', WPCAC_URI ); |
| 30 |
|
| 31 |
include 'includes/log/wpc-log.php'; |
| 32 |
include 'includes/dashboard/wpc-dashboard.php'; |
| 33 |
include 'includes/kit/wpc-kit.php'; |
| 34 |
|
| 35 |
if ( ! function_exists( 'wpcac_init' ) ) { |
| 36 |
add_action( 'plugins_loaded', 'wpcac_init', 11 ); |
| 37 |
|
| 38 |
function wpcac_init() { |
| 39 |
if ( ! class_exists( 'WPCleverWpcac' ) ) { |
| 40 |
class WPCleverWpcac { |
| 41 |
public function __construct() { |
| 42 |
include_once 'includes/kses.php'; |
| 43 |
include_once 'includes/class-duplicate.php'; |
| 44 |
include_once 'includes/class-backend.php'; |
| 45 |
} |
| 46 |
} |
| 47 |
|
| 48 |
new WPCleverWpcac(); |
| 49 |
} |
| 50 |
} |
| 51 |
} |
| 52 |
|