This commit is contained in:
dwindown
2025-12-07 12:58:49 +07:00
parent 430e063f91
commit 31b3398c2f
5 changed files with 120 additions and 46 deletions

View File

@@ -24,7 +24,9 @@ class SHEET_DATA_CHECKER_PRO {
add_action( 'init', [$this, 'create_custom_post_type'] );
add_action( 'admin_enqueue_scripts', [$this, 'enqueue_bootstrap_admin'] );
include SHEET_CHECKER_PRO_PATH . 'includes/class-License.php';
if (!class_exists('CHECKER_LICENSE')) {
include SHEET_CHECKER_PRO_PATH . 'includes/class-License.php';
}
$lis = new CHECKER_LICENSE();
if(true == $lis->the_lis()){
@@ -38,7 +40,9 @@ class SHEET_DATA_CHECKER_PRO {
add_action( 'wp_ajax_load_repeater_field_card', [$this, 'load_repeater_field_card'] );
add_action( 'wp_ajax_load_output_setting', [$this, 'load_output_setting'] );
require 'class-Shortcode.php';
if (!class_exists('CHECKER_SHORTCODE')) {
require 'class-Shortcode.php';
}
new CHECKER_SHORTCODE();
}