| 1 |
<?php |
| 2 |
/** |
| 3 |
* Admin |
| 4 |
* |
| 5 |
* @since 1.8.1 |
| 6 |
* @package WPGlobus |
| 7 |
*/ |
| 8 |
|
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
exit; // Exit if accessed directly |
| 11 |
} |
| 12 |
|
| 13 |
/** |
| 14 |
* Admin page central. |
| 15 |
* |
| 16 |
* @since 1.6.6 |
| 17 |
*/ |
| 18 |
require_once dirname( __FILE__ ) . '/central/class-wpglobus-admin-central.php'; |
| 19 |
WPGlobus_Admin_Central::construct(); |
| 20 |
|
| 21 |
/** |
| 22 |
* WPGlobus_Register_Post_Types |
| 23 |
* |
| 24 |
* @since 2.2.24 |
| 25 |
*/ |
| 26 |
require_once dirname( __FILE__ ) . '/register-post-types/class-wpglobus-register-post-types.php'; |
| 27 |
WPGlobus_Register_Post_Types::construct(); |
| 28 |
|
| 29 |
/** |
| 30 |
* WPGlobus_Admin_Post |
| 31 |
* |
| 32 |
* @since 2.4 |
| 33 |
*/ |
| 34 |
require_once dirname( __FILE__ ) . '/class-wpglobus-admin-post.php'; |
| 35 |
WPGlobus_Admin_Post::construct(); |
| 36 |
|
| 37 |
if ( WPGlobus_WP::get_http_get_parameter( 'wpglobus-debug' ) ) { // WPCS: input var ok, sanitization ok. |
| 38 |
/** |
| 39 |
* To load debug info |
| 40 |
* site/wp-admin/post.php?post={{post_ID}}&action=edit&wpglobus-debug=godmode |
| 41 |
* or |
| 42 |
* site/wp-admin/post.php?post={{post_ID}}&action=edit&wpglobus-debug=meta |
| 43 |
*/ |
| 44 |
require_once dirname( __FILE__ ) . '/debug/class-wpglobus-admin-debug.php'; |
| 45 |
WPGlobus_Admin_Debug::get_instance(); |
| 46 |
} |
| 47 |
|