-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimple-menu-order-column.php
More file actions
51 lines (46 loc) · 1.34 KB
/
Copy pathsimple-menu-order-column.php
File metadata and controls
51 lines (46 loc) · 1.34 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
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/**
* Simple Menu Order Column
*
* @package Simple Menu Order Column
* @author Chillcode
* @copyright Copyright (c) 2003, Chillcode (https://github.com/chillcode/)
* @license GPLv3
*
* @wordpress-plugin
* Plugin Name: Simple Menu Order Column
* Plugin URI: https://github.com/chillcode/simple-menu-order-column
* Description: Add a menu order column to your listings.
* Version: 2.1.4
* Requires at least: 6.0
* Requires PHP: 7.4
* Author: Chillcode
* Author URI: https://github.com/chillcode/
* License: GPLv3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: simple-menu-order-column
* Domain Path: /i18n/languages/
*/
defined( 'ABSPATH' ) || exit;
define( 'SMOC_PLUGIN_PATH', __DIR__ );
define( 'SMOC_PLUGIN_FILE', __FILE__ );
define( 'SMOC_PLUGIN_VERSION', '2.1.4' );
require_once SMOC_PLUGIN_PATH . '/includes/class-simplemenuordercolumn.php';
if ( class_exists( 'SMOC\SimpleMenuOrderColumn' ) ) {
/**
* Main Instance.
*
* Ensures only one instance is loaded or can be loaded.
*
* @since 1.0
* @static
* @return SMOC\SimpleMenuOrderColumn Main instance.
*/
function SMOC(): SMOC\SimpleMenuOrderColumn { //phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
return SMOC\SimpleMenuOrderColumn::instance();
}
/**
* Initialize the plugin.
*/
SMOC();
}