|
|
@@ -12,9 +12,6 @@
|
|
|
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
|
|
* Text Domain: studiou-wc-ord-print-statuses
|
|
|
* Domain Path: /languages
|
|
|
- *
|
|
|
- * WC requires at least: 5.0
|
|
|
- * WC tested up to: 8.0
|
|
|
*/
|
|
|
|
|
|
defined('ABSPATH') || exit;
|
|
|
@@ -62,6 +59,8 @@ class Studiou_WC_Ord_Print_Statuses {
|
|
|
foreach ($files as $file) {
|
|
|
require_once plugin_dir_path(__FILE__) . 'includes/' . $file;
|
|
|
}
|
|
|
+
|
|
|
+ error_log('Dependencies loaded');
|
|
|
}
|
|
|
|
|
|
private function initialize_managers() {
|
|
|
@@ -71,6 +70,8 @@ class Studiou_WC_Ord_Print_Statuses {
|
|
|
$this->bulk_actions_manager = new Bulk_Actions_Manager();
|
|
|
$this->custom_columns_manager = new Custom_Columns_Manager();
|
|
|
$this->import_manager = new Import_Manager();
|
|
|
+
|
|
|
+ error_log('Managers initialized');
|
|
|
}
|
|
|
|
|
|
public function woocommerce_missing_notice() {
|
|
|
@@ -89,7 +90,4 @@ function studiou_wc_ord_print_statuses_load_textdomain() {
|
|
|
add_action('plugins_loaded', 'studiou_wc_ord_print_statuses_load_textdomain');
|
|
|
|
|
|
// Initialize the plugin
|
|
|
-function studiou_wc_ord_print_statuses_init() {
|
|
|
- new Studiou_WC_Ord_Print_Statuses();
|
|
|
-}
|
|
|
-add_action('plugins_loaded', 'studiou_wc_ord_print_statuses_init', 10);
|
|
|
+new Studiou_WC_Ord_Print_Statuses();
|