PluginProbe
Elementor Website Builder – more than just a page builder / 3.27.5
Elementor Website Builder – more than just a page builder v3.27.5
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
elementor / modules / promotions / admin-menu-items / custom-icons-promotion-item.php

custom-icons-promotion-item.php in Elementor Website Builder – more than just a page builder 3.27.5, at modules/promotions/admin-menu-items/custom-icons-promotion-item.php

48 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Elementor\Modules\Promotions\AdminMenuItems;
4
5 if ( ! defined( 'ABSPATH' ) ) {
6 exit; // Exit if accessed directly
7 }
8
9 class Custom_Icons_Promotion_Item extends Base_Promotion_Template {
10 public function get_name() {
11 return 'custom_icons';
12 }
13
14 public function get_label() {
15 return esc_html__( 'Custom Icons', 'elementor' );
16 }
17
18 public function get_page_title() {
19 return esc_html__( 'Custom Icons', 'elementor' );
20 }
21
22 protected function get_promotion_title():string {
23 return sprintf(
24 /* translators: %s: br */
25 esc_html__( 'Enjoy creative freedom %s with Custom Icons', 'elementor' ),
26 '<br />'
27 );
28 }
29
30 protected function get_content_lines(): array {
31 return [
32 sprintf(
33 esc_html__( 'Expand your icon library beyond FontAwesome and add icon %s libraries of your choice', 'elementor' ),
34 '<br />'
35 ),
36 esc_html__( 'Add any icon, anywhere on your website', 'elementor' ),
37 ];
38 }
39
40 protected function get_cta_url(): string {
41 return 'https://go.elementor.com/go-pro-custom-icons/';
42 }
43
44 protected function get_video_url(): string {
45 return 'https://www.youtube-nocookie.com/embed/PsowinxDWfM?si=SV9Z3TLz3_XEy5C6';
46 }
47 }
48