PluginProbe
Elementor Website Builder – more than just a page builder / 4.0.3
Elementor Website Builder – more than just a page builder v4.0.3
4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 All 457 releases
← All changes | app/modules/onboarding/module.php +3 -1 4.0.2 → 4.0.3 View file →
@@ -125,8 +125,9 @@
125 125 'urls' => [
126 126 'dashboard' => admin_url(),
127 127 'editor' => admin_url( 'edit.php?post_type=elementor_library' ),
128 128 'connect' => $this->get_connect_url(),
129 + 'signUp' => $this->get_connect_url( 'signup' ),
129 130 'comparePlans' => 'https://go.elementor.com/go-pro-onboarding-editor-features-step-upgrade/',
130 131 'createNewPage' => Plugin::$instance->documents->get_create_new_post_url(),
131 132 'upgradeUrl' => 'https://go.elementor.com/go-pro-onboarding-editor-header-upgrade/',
132 133 ],
@@ -157,9 +158,9 @@
157 158
158 159 return $library ? $library->is_connected() : false;
159 160 }
160 161
161 - private function get_connect_url(): string {
162 + private function get_connect_url( string $screen_hint = '' ): string {
162 163 $library = $this->get_library_app();
163 164
164 165 if ( ! $library ) {
165 166 return '';
@@ -170,8 +171,9 @@
170 171 'utm_campaign' => 'connect-account',
171 172 'utm_medium' => 'wp-dash',
172 173 'utm_term' => self::VERSION,
173 174 'source' => 'generic',
175 + 'screen_hint' => $screen_hint,
174 176 ] ) ?? '';
175 177 }
176 178
177 179 private function get_library_app() {