PluginProbe
Elementor Website Builder – more than just a page builder / 3.22.2
Elementor Website Builder – more than just a page builder v3.22.2
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/base-promotion-template.php +9 -10 4.3.0 → 3.22.2 View file →
@@ -7,30 +7,30 @@
7 7 use Elementor\Settings;
8 8 use Elementor\Utils;
9 9
10 10 if ( ! defined( 'ABSPATH' ) ) {
11 - exit; // Exit if accessed directly.
11 + exit; // Exit if accessed directly
12 12 }
13 13
14 14 abstract class Base_Promotion_Template implements Admin_Menu_Item_With_Page {
15 15
16 - abstract protected function get_promotion_title(): string;
16 + abstract protected function get_promotion_title():string;
17 17
18 - abstract protected function get_cta_url(): string;
18 + abstract protected function get_cta_url():string;
19 19
20 - abstract protected function get_content_lines(): array;
20 + abstract protected function get_content_lines():array;
21 21
22 - abstract protected function get_video_url(): string;
22 + abstract protected function get_video_url():string;
23 23
24 - public function is_visible(): bool {
24 + public function is_visible() {
25 25 return true;
26 26 }
27 27
28 - public function get_parent_slug(): string {
28 + public function get_parent_slug() {
29 29 return Settings::PAGE_ID;
30 30 }
31 31
32 - public function get_capability(): string {
32 + public function get_capability() {
33 33 return 'manage_options';
34 34 }
35 35
36 36 protected function get_cta_text() {
@@ -38,12 +38,11 @@
38 38 }
39 39
40 40 /**
41 41 * Should the promotion have a side note.
42 - *
43 42 * @return string
44 43 */
45 - protected function get_side_note(): string {
44 + protected function get_side_note():string {
46 45 return '';
47 46 }
48 47
49 48 private function get_lines() {