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(); ?>