/var/www/html/wp-content/plugins/elementor/modules/checklist/steps/add-logo.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php

namespace Elementor\Modules\Checklist\Steps;

use 
Elementor\Core\DocumentTypes\Page;

if ( ! 
defined'ABSPATH' ) ) {
    exit; 
// Exit if accessed directly.
}

class 
Add_Logo extends Step_Base {
    const 
STEP_ID 'add_logo';

    const 
SITE_IDENTITY_TAB 'settings-site-identity';

    public function 
get_id() : string {
        return 
self::STEP_ID;
    }

    public function 
is_absolute_completed() : bool {
        return 
$this->wordpress_adapter->has_custom_logo();
    }

    public function 
get_title() : string {
        return 
esc_html__'Add your logo''elementor' );
    }

    public function 
get_description() : string {
        return 
__'Let\'s start by adding your logo and filling in the site identity settings. This will establish your initial presence and also improve SEO.''elementor' );
    }

    public function 
get_cta_text() : string {
        return 
esc_html__'Go to Site Identity''elementor' );
    }

    public function 
get_cta_url() : string {
        return 
Page::get_site_settings_url_configself::SITE_IDENTITY_TAB )['url'];
    }

    public function 
get_is_completion_immutable() : bool {
        return 
false;
    }

    public function 
get_image_src() : string {
        return 
'https://assets.elementor.com/checklist/v1/images/checklist-step-1.jpg';
    }

    public function 
get_learn_more_url() : string {
        return 
'http://go.elementor.com/app-website-checklist-logo-article';
    }
}