PluginProbe
WPC Admin Columns / trunk
WPC Admin Columns vtrunk
2.3.4 2.3.3 2.3.2 2.3.1 1.4.4 1.4.5 1.5.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 All 37 releases
wpc-admin-columns / wpc-admin-columns.php

wpc-admin-columns.php in WPC Admin Columns trunk, at wpc-admin-columns.php

55 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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.4
7 Author: WPClever
8 Author URI: https://wpclever.net
9 Text Domain: wpc-admin-columns
10 Domain Path: /languages/
11 Requires at least: 5.9
12 Tested up to: 7.0
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.4' );
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
30 // WPC Core
31 require_once __DIR__ . '/includes/wpc-core/wpc-core.php';
32 wpc_core_register( [
33 'file' => __FILE__,
34 'version' => WPCAC_VERSION,
35 'prefix' => 'wpcac',
36 ] );
37
38 if ( ! function_exists( 'wpcac_init' ) ) {
39 add_action( 'plugins_loaded', 'wpcac_init', 11 );
40
41 function wpcac_init() {
42 if ( ! class_exists( 'WPCleverWpcac' ) ) {
43 class WPCleverWpcac {
44 public function __construct() {
45 include_once 'includes/kses.php';
46 include_once 'includes/class-duplicate.php';
47 include_once 'includes/class-backend.php';
48 }
49 }
50
51 new WPCleverWpcac();
52 }
53 }
54 }
55