| @@ -526,9 +526,9 @@ | ||
| 526 | 526 | |
| 527 | 527 | if ( is_wp_error( $response['data'] ) ) { |
| 528 | 528 | |
| 529 | 529 | /* translators: %1$s: html tag, %2$s: link html start %3$s: link html end */ |
| 530 | - $btn = sprintf( __( 'Request timeout error. Please check if the firewall or any security plugin is blocking the outgoing HTTP/HTTPS requests to templates.cartflows.com or not. %1$sTo resolve this issue, please check this %2$sarticle%3$s.', 'cartflows' ), '<br><br>', '<a target="_blank" href="https://cartflows.com/docs/request-timeout-error-while-importing-the-flow-step-templates/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=docs">', '</a>' ); | |
| 530 | + $btn = sprintf( __( 'Request timeout error. Please check if the firewall or any security plugin is blocking the outgoing HTTP/HTTPS requests to templates.cartflows.com or not. %1$sTo resolve this issue, please check this %2$sarticle%3$s.', 'cartflows' ), '<br><br>', '<a target="_blank" href="' . esc_url( \Cartflows_Helper::get_kb_doc_link( 'https://cartflows.com/docs/request-timeout-error-while-importing-the-flow-step-templates/' ) ) . '">', '</a>' ); | |
| 531 | 531 | |
| 532 | 532 | wp_send_json_error( |
| 533 | 533 | array( |
| 534 | 534 | 'message' => $response['data']->get_error_message(), |
| @@ -549,9 +549,9 @@ | ||
| 549 | 549 | $title = ''; |
| 550 | 550 | $msg = ''; |
| 551 | 551 | if ( 'not-installed' === $cf_pro_status ) { |
| 552 | 552 | /* translators: %1$s: link html start, %2$s: link html end*/ |
| 553 | - $msg = sprintf( __( 'To import this template, CartFlows Pro Required! %1$sUpgrade to CartFlows Pro%2$s', 'cartflows' ), '<a target="_blank" href="https://cartflows.com/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=go-pro">', '</a>' ); | |
| 553 | + $msg = sprintf( __( 'To import this template, CartFlows Pro Required! %1$sUpgrade to CartFlows Pro%2$s', 'cartflows' ), '<a target="_blank" href="' . esc_url( \Cartflows_Helper::get_upgrade_to_pro_link( '', 'https://cartflows.com/' ) ) . '">', '</a>' ); | |
| 554 | 554 | $title = __( 'CartFlows Pro Required', 'cartflows' ); |
| 555 | 555 | } elseif ( 'inactive' === $cf_pro_status ) { |
| 556 | 556 | $title = __( 'CartFlows Pro Required', 'cartflows' ); |
| 557 | 557 | /* translators: %1$s: link html start, %2$s: link html end*/ |