PluginProbe
Elementor Website Builder – more than just a page builder / 3.10.1
Elementor Website Builder – more than just a page builder v3.10.1
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
elementor / core / editor / promotion.php

promotion.php in Elementor Website Builder – more than just a page builder 3.10.1, at core/editor/promotion.php

34 lines 795 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Elementor\Core\Editor;
3
4 use Elementor\Utils;
5
6 if ( ! defined( 'ABSPATH' ) ) {
7 exit; // Exit if accessed directly
8 }
9
10 class Promotion {
11 public function get_elements_promotion() {
12 // For BC
13 $has_pro = Utils::has_pro();
14
15 return [
16 /* translators: %s: Widget title. */
17 'title' => __( '%s Widget', 'elementor' ),
18 /* translators: %s: Widget title. */
19 'content' => __(
20 'Use %s widget and dozens more pro features to extend your toolbox and build sites faster and better.',
21 'elementor'
22 ),
23 'action_button' => [
24 'text' => $has_pro ?
25 __( 'Connect & Activate', 'elementor' ) :
26 __( 'Upgrade', 'elementor' ),
27 'url' => $has_pro ?
28 admin_url( 'admin.php?page=elementor-license' ) :
29 'https://go.elementor.com/go-pro-%s',
30 ],
31 ];
32 }
33 }
34