PluginProbe
Elementor Website Builder – more than just a page builder / 3.35.0-dev4
Elementor Website Builder – more than just a page builder v3.35.0-dev4
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 4.1.0-beta2 4.1.0-dev2 All 455 releases
← All changes | modules/promotions/admin-menu-items/editor-one-icons-menu.php +1 -36 4.3.1 → 3.35.0-dev4 View file →
@@ -8,9 +8,9 @@
8 8 if ( ! defined( 'ABSPATH' ) ) {
9 9 exit;
10 10 }
11 11
12 -class Editor_One_Icons_Menu extends Base_Promotion_Template implements Menu_Item_Interface {
12 +class Editor_One_Icons_Menu extends Custom_Icons_Promotion_Item implements Menu_Item_Interface {
13 13
14 14 public function get_position(): int {
15 15 return 20;
16 16 }
@@ -28,41 +28,6 @@
28 28 }
29 29
30 30 public function get_group_id(): string {
31 31 return Menu_Config::CUSTOM_ELEMENTS_GROUP_ID;
32 - }
33 -
34 - public function get_name() {
35 - return 'custom_icons';
36 - }
37 -
38 - public function get_page_title() {
39 - return esc_html__( 'Custom Icons', 'elementor' );
40 - }
41 -
42 - protected function get_promotion_title(): string {
43 - return sprintf(
44 - /* translators: %s: `<br>` tag. */
45 - esc_html__( 'Enjoy creative freedom %s with Custom Icons', 'elementor' ),
46 - '<br />'
47 - );
48 - }
49 -
50 - protected function get_content_lines(): array {
51 - return [
52 - sprintf(
53 - /* translators: %s: `<br>` tag. */
54 - esc_html__( 'Expand your icon library beyond FontAwesome and add icon %s libraries of your choice', 'elementor' ),
55 - '<br />'
56 - ),
57 - esc_html__( 'Add any icon, anywhere on your website', 'elementor' ),
58 - ];
59 - }
60 -
61 - protected function get_cta_url(): string {
62 - return 'https://go.elementor.com/go-pro-custom-icons/';
63 - }
64 -
65 - protected function get_video_url(): string {
66 - return 'https://www.youtube-nocookie.com/embed/PsowinxDWfM?si=SV9Z3TLz3_XEy5C6';
67 32 }
68 33 }