ID; } elseif (!empty($theorder)) { $thepostid = $theorder->get_id(); } else { $thepostid = null; } if ($thepostid) { $orderId = $thepostid; echo '
'; echo '
'; include Variables::$A4B_PLUGIN_BASE_PATH . 'src/templates/orders/import-order.php'; echo '
'; echo '
'; include Variables::$A4B_PLUGIN_BASE_PATH . 'src/templates/orders/import-order-all-items.php'; echo '
'; echo '
'; } } catch (\Throwable $th) { throw $th; } } public function getIntegrationTypes() { return array( OrdersShortcode::fullIntegrationSlug(), ); } }