PluginProbe
Elementor Website Builder – more than just a page builder / 3.27.4
Elementor Website Builder – more than just a page builder v3.27.4
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 4.0.8 All 454 releases
← All changes | modules/checklist/steps/assign-homepage.php +10 -10 4.2.4 → 3.27.4 View file →
@@ -8,42 +8,42 @@
8 8
9 9 class Assign_Homepage extends Step_Base {
10 10 const STEP_ID = 'assign_homepage';
11 11
12 - public function get_id(): string {
12 + public function get_id() : string {
13 13 return self::STEP_ID;
14 14 }
15 15
16 - public function is_absolute_completed(): bool {
16 + public function is_absolute_completed() : bool {
17 17 $front_page_id = (int) ( $this->wordpress_adapter->get_option( 'page_on_front' ) ?? 0 );
18 18
19 - return (bool) $front_page_id;
19 + return ! ! $front_page_id;
20 20 }
21 21
22 - public function get_title(): string {
22 + public function get_title() : string {
23 23 return esc_html__( 'Assign a homepage', 'elementor' );
24 24 }
25 25
26 - public function get_description(): string {
26 + public function get_description() : string {
27 27 return esc_html__( 'Before your launch, make sure to assign a homepage so visitors have a clear entry point into your site.', 'elementor' );
28 28 }
29 29
30 - public function get_cta_text(): string {
30 + public function get_cta_text() : string {
31 31 return esc_html__( 'Assign homepage', 'elementor' );
32 32 }
33 33
34 - public function get_cta_url(): string {
34 + public function get_cta_url() : string {
35 35 return admin_url( 'options-reading.php' );
36 36 }
37 37
38 - public function get_is_completion_immutable(): bool {
38 + public function get_is_completion_immutable() : bool {
39 39 return false;
40 40 }
41 41
42 - public function get_image_src(): string {
42 + public function get_image_src() : string {
43 43 return 'https://assets.elementor.com/checklist/v1/images/checklist-step-6.jpg';
44 44 }
45 45
46 - public function get_learn_more_url(): string {
46 + public function get_learn_more_url() : string {
47 47 return 'http://go.elementor.com/app-website-checklist-assign-home-article';
48 48 }
49 49 }