PluginProbe
Elementor Website Builder – more than just a page builder / 3.26.3
Elementor Website Builder – more than just a page builder v3.26.3
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 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | modules/checklist/steps/setup-header.php +12 -10 4.1.23.26.3 View file →
@@ -19,13 +19,13 @@
19 19
20 20 parent::__construct( $module, $wordpress_adapter, $elementor_adapter, $promotion_data );
21 21 }
22 22
23 - public function get_id(): string {
23 + public function get_id() : string {
24 24 return self::STEP_ID;
25 25 }
26 26
27 - public function is_visible(): bool {
27 + public function is_visible() : bool {
28 28 if ( Utils::has_pro() ) {
29 29 return false;
30 30 }
31 31
@@ -31,9 +31,9 @@
31 31
32 32 return parent::is_visible();
33 33 }
34 34
35 - public function is_absolute_completed(): bool {
35 + public function is_absolute_completed() : bool {
36 36 $args = [
37 37 'post_type' => 'elementor_library',
38 38 'meta_query' => [
39 39 'relation' => 'AND',
@@ -57,33 +57,33 @@
57 57
58 58 return count( $header_templates ) >= 1;
59 59 }
60 60
61 - public function get_title(): string {
61 + public function get_title() : string {
62 62 return esc_html__( 'Set up a header', 'elementor' );
63 63 }
64 64
65 - public function get_description(): string {
65 + public function get_description() : string {
66 66 return esc_html__( 'This element applies across different pages, so visitors can easily navigate around your site.', 'elementor' );
67 67 }
68 68
69 - public function get_cta_text(): string {
69 + public function get_cta_text() : string {
70 70 return esc_html__( 'Add a header', 'elementor' );
71 71 }
72 72
73 - public function get_cta_url(): string {
73 + public function get_cta_url() : string {
74 74 return '';
75 75 }
76 76
77 - public function get_image_src(): string {
77 + public function get_image_src() : string {
78 78 return 'https://assets.elementor.com/checklist/v1/images/checklist-step-4.jpg';
79 79 }
80 80
81 - public function get_is_completion_immutable(): bool {
81 + public function get_is_completion_immutable() : bool {
82 82 return false;
83 83 }
84 84
85 - public function get_learn_more_url(): string {
85 + public function get_learn_more_url() : string {
86 86 return 'https://go.elementor.com/app-website-checklist-header-article';
87 87 }
88 88
89 89 private function render_promotion() {
@@ -95,6 +95,8 @@
95 95 ],
96 96 'elementor/checklist/promotion',
97 97 'upgrade_url'
98 98 );
99 +
99 100 }
101 +
100 102 }