PluginProbe
Admin Columns / 4.7.18
Admin Columns v4.7.18
7.1.4 7.0.19 2.3.5 2.4 2.4.1 2.4.10 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.6.1 2.5.6.2 2.5.6.3 2.5.6.4 3.0 3.0.1 All 113 releases
codepress-admin-columns / codepress-admin-columns.php
codepress-admin-columns.php
60 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: Admin Columns
4 Version: 4.7.18
5 Description: Customize columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
6 Author: AdminColumns.com
7 Author URI: https://www.admincolumns.com
8 Plugin URI: https://www.admincolumns.com
9 Requires PHP: 7.2
10 Requires at least: 5.9
11 Text Domain: codepress-admin-columns
12 Domain Path: /languages
13 License: GPL v3
14
15 Admin Columns Plugin
16 Copyright (C) 2011-2023, Admin Columns - info@admincolumns.com
17 This program is free software: you can redistribute it and/or modify
18 it under the terms of the GNU General Public License as published by
19 the Free Software Foundation, either version 3 of the License, or
20 (at your option) any later version.
21
22 This program is distributed in the hope that it will be useful,
23 but WITHOUT ANY WARRANTY; without even the implied warranty of
24 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 GNU General Public License for more details.
26
27 You should have received a copy of the GNU General Public License
28 along with this program. If not, see <http://www.gnu.org/licenses/>.
29 */
30
31 if ( ! defined('ABSPATH')) {
32 exit;
33 }
34
35 if ( ! is_admin()) {
36 return;
37 }
38
39 define('AC_FILE', __FILE__);
40 define('AC_VERSION', '4.7.18');
41
42 require_once __DIR__ . '/classes/Dependencies.php';
43
44 add_action('after_setup_theme', function () {
45 $dependencies = new AC\Dependencies(plugin_basename(__FILE__), AC_VERSION);
46 $dependencies->requires_php('7.2');
47
48 if ($dependencies->has_missing()) {
49 return;
50 }
51
52 require_once __DIR__ . '/vendor/autoload.php';
53 require_once __DIR__ . '/api.php';
54
55 /**
56 * For loading external resources, e.g. column settings.
57 * Can be called from plugins and themes.
58 */
59 do_action('ac/ready', AC());
60 }, 1);