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

49 lines 1.2 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>` tag. */
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 /* translators: %s: `<br>` tag. */
34 esc_html__( 'Expand your icon library beyond FontAwesome and add icon %s libraries of your choice', 'elementor' ),
35 '<br />'
36 ),
37 esc_html__( 'Add any icon, anywhere on your website', 'elementor' ),
38 ];
39 }
40
41 protected function get_cta_url(): string {
42 return 'https://go.elementor.com/go-pro-custom-icons/';
43 }
44
45 protected function get_video_url(): string {
46 return 'https://www.youtube-nocookie.com/embed/PsowinxDWfM?si=SV9Z3TLz3_XEy5C6';
47 }
48 }
49