PluginProbe
Elementor Website Builder – more than just a page builder / 3.3.0
Elementor Website Builder – more than just a page builder v3.3.0
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 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | includes/settings/settings.php +31 -2 3.2.53.3.0 View file →
@@ -1,8 +1,7 @@
1 1 <?php
2 2 namespace Elementor;
3 3
4 -use Elementor\Core\Upgrade\Manager as Upgrades_Manager;
5 4 use Elementor\TemplateLibrary\Source_Local;
6 5
7 6 if ( ! defined( 'ABSPATH' ) ) {
8 7 exit; // Exit if accessed directly.
@@ -132,8 +131,19 @@
132 131 */
133 132 public function register_pro_menu() {
134 133 add_submenu_page(
135 134 self::PAGE_ID,
135 + __( 'Submissions', 'elementor' ),
136 + __( 'Submissions', 'elementor' ),
137 + 'manage_options',
138 + 'e-form-submissions',
139 + function() {
140 + $this->elementor_form_submissions();
141 + }
142 + );
143 +
144 + add_submenu_page(
145 + self::PAGE_ID,
136 146 __( 'Custom Fonts', 'elementor' ),
137 147 __( 'Custom Fonts', 'elementor' ),
138 148 'manage_options',
139 149 'elementor_custom_fonts',
@@ -261,9 +271,9 @@
261 271 </div>
262 272
263 273 <div class="e-getting-started__actions e-getting-started__content--narrow">
264 274 <?php if ( ! empty( $create_new_cpt ) ) : ?>
265 - <a href="<?php echo esc_url( Utils::get_create_new_post_url( $create_new_cpt ) ); ?>" class="button button-primary button-hero"><?php echo esc_html( $create_new_label ); ?></a>
275 + <a href="<?php echo esc_url( Plugin::$instance->documents->get_create_new_post_url( $create_new_cpt ) ); ?>" class="button button-primary button-hero"><?php echo esc_html( $create_new_label ); ?></a>
266 276 <?php endif; ?>
267 277
268 278 <a href="https://go.elementor.com/getting-started/" target="_blank" class="button button-secondary button-hero"><?php echo __( 'Watch the Full Guide', 'elementor' ); ?></a>
269 279 </div>
@@ -331,8 +341,27 @@
331 341 <img src="<?php echo ELEMENTOR_ASSETS_URL . 'images/go-pro-wp-dashboard.svg'; ?>" />
332 342 <h2><?php echo __( 'Get Popup Builder', 'elementor' ); ?></h2>
333 343 <p><?php echo __( 'Popup Builder lets you take advantage of all the amazing features in Elementor, so you can build beautiful & highly converting popups. Go pro and start designing your popups today.', 'elementor' ); ?></p>
334 344 <a class="elementor-button elementor-button-default elementor-button-go-pro" target="_blank" href="<?php echo Utils::get_pro_link( 'https://elementor.com/popup-builder/?utm_source=popup-templates&utm_campaign=gopro&utm_medium=wp-dash' ); ?>"><?php echo __( 'Go Pro', 'elementor' ); ?></a>
345 + </div>
346 + </div><!-- /.wrap -->
347 + <?php
348 + }
349 +
350 + public function elementor_form_submissions() {
351 + ?>
352 + <div class="wrap">
353 + <div class="elementor-blank_state">
354 + <img src="<?php echo ELEMENTOR_ASSETS_URL . 'images/go-pro-wp-dashboard.svg'; ?>" />
355 + <h2><?php echo __( 'Collect Your Form Submissions', 'elementor' ); ?></h2>
356 + <p>
357 + <?php echo __( 'Save and manage all of your form submissions in one single place.
358 +All within a simple, intuitive place.', 'elementor' ); ?>
359 + <a href="http://go.elementor.com/wp-dash-submissions" target="_blank" rel="nofollow">
360 + <?php echo __( 'Learn More', 'elementor' ); ?>
361 + </a>
362 + </p>
363 + <a class="elementor-button elementor-button-default elementor-button-go-pro" target="_blank" href="<?php echo Utils::get_pro_link( 'https://go.elementor.com/go-pro-submissions' ); ?>"><?php echo __( 'Go Pro', 'elementor' ); ?></a>
335 364 </div>
336 365 </div><!-- /.wrap -->
337 366 <?php
338 367 }