has_template_back_columns(); $canvas_width = $current_template ? intval($current_template['canvas_width']) : 1123; $canvas_height = $current_template ? intval($current_template['canvas_height']) : 794; $canvas_presets = class_exists('ACCEVE_Canvas_Sizes') ? ACCEVE_Canvas_Sizes::get_presets() : array( 'a4_landscape' => array( 'label' => __( 'A4 — Landscape', 'academic-certificate-verification' ), 'width' => 1123, 'height' => 794, ), 'custom' => array( 'label' => __( 'Custom size', 'academic-certificate-verification' ), 'width' => 0, 'height' => 0, ), ); $current_canvas_preset = class_exists('ACCEVE_Canvas_Sizes') ? ACCEVE_Canvas_Sizes::detect_preset($canvas_width, $canvas_height) : 'custom'; $license_handler = ACCEVE_License_Handler::get_instance(); $is_active = $license_handler->is_license_active(); ?>