PluginProbe
Elementor Website Builder – more than just a page builder / 3.25.3
Elementor Website Builder – more than just a page builder v3.25.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 4.1.0-beta2 4.1.0-dev2 All 455 releases
elementor / modules / promotions / admin-menu-items / custom-fonts-promotion-item.php

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

45 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_Fonts_Promotion_Item extends Base_Promotion_Template {
10 public function get_name() {
11 return 'custom_fonts';
12 }
13
14 public function get_label() {
15 return esc_html__( 'Custom Fonts', 'elementor' );
16 }
17
18 public function get_page_title() {
19 return esc_html__( 'Custom Fonts', 'elementor' );
20 }
21
22 protected function get_promotion_title(): string {
23 return esc_html__( 'Stay on brand with a Custom Font', 'elementor' );
24 }
25
26 protected function get_content_lines(): array {
27 return [
28 esc_html__( 'Upload any font to keep your website true to your brand', 'elementor' ),
29 sprintf(
30 /* translators: %s: br */
31 esc_html__( 'Remain GDPR compliant with Custom Fonts that let you disable %s Google Fonts from your website', 'elementor' ),
32 '<br />'
33 ),
34 ];
35 }
36
37 protected function get_cta_url(): string {
38 return 'https://go.elementor.com/go-pro-custom-fonts/';
39 }
40
41 protected function get_video_url(): string {
42 return 'https://www.youtube-nocookie.com/embed/j_guJkm28eY?si=cdd2TInwuGDTtCGD';
43 }
44 }
45