PluginProbe
Route ‑ Shipping Protection / 2.4.18
Route ‑ Shipping Protection v2.4.18
2.4.19 2.4.18 2.4.17 2.4.16 2.4.15 2.4.14 2.4.13 2.4.12 2.4.11 2.4.10 2.4.9 2.4.8 2.4.7 2.4.6 2.4.5 2.4.4 2.4.3 2.4.2 2.2.4 2.2.5 2.2.6 2.2.8 2.2.9 2.3.0 2.3.1 All 153 releases
← All changes | admin/class-wc-settings-routeapp.php +18 -1 2.3.0 → 2.4.18 View file →
@@ -69,8 +69,9 @@
69 69
70 70 $routeapp_public = self::get_route_public_instance();
71 71 $checkout_hooks = $routeapp_public->routeapp_get_checkout_hook_options();
72 72
73 + $ownership_login = Route_Setup::get_dashboard_ownership_login_url();
73 74 $settings = apply_filters( 'routeapp_settings', array(
74 75 array(
75 76 'name' => __( 'Route', 'routeapp' ),
76 77 'type' => 'title',
@@ -79,9 +80,13 @@
79 80 ),
80 81 array(
81 82 'name' => __( 'Public Token', 'routeapp' ),
82 83 'type' => 'text',
83 - 'desc' => "<p class='description'>Haven’t received your Tokens? <a href='https://dashboard.route.com/create-account' target='_blank'>Click here</a> to create your Route Partner Account.</p>",
84 + 'desc' => '<p class="description">' . sprintf(
85 + /* translators: %s: Route Dashboard login URL with platformUrl (OTP callback). */
86 + esc_html__( 'Missing tokens? %s to sign in at Route and link this store.', 'routeapp' ),
87 + '<a href="' . esc_url( $ownership_login ) . '" target="_blank" rel="noopener noreferrer">' . esc_html__( 'Click here', 'routeapp' ) . '</a>'
88 + ) . '</p>',
84 89 'id' => 'routeapp_public_token',
85 90 'class' => 'route-environment',
86 91 ),
87 92 array(
@@ -130,8 +135,20 @@
130 135 'type' => 'multiselect',
131 136 'id' => 'routeapp_cancel_order_statuses',
132 137 'class' => 'route-environment',
133 138 'options' => wc_get_order_statuses()
139 + ),
140 + array(
141 + 'name' => __( 'External Tracking Provider', 'routeapp' ),
142 + 'type' => 'select',
143 + 'id' => 'routeapp_external_tracking_providers',
144 + 'class' => 'route-environment',
145 + 'desc' => __( 'Select a tracking provider used without a dedicated WooCommerce plugin', 'routeapp' ),
146 + 'default' => '',
147 + 'options' => array(
148 + '' => __( 'None', 'routeapp' ),
149 + 'pirate_ship' => __( 'Pirate Ship', 'routeapp' ),
150 + )
134 151 ),
135 152 array(
136 153 'name' => __( 'Include order updates widget', 'routeapp' ),
137 154 'type' => 'checkbox',