PluginProbe
Elementor Website Builder – more than just a page builder / 3.25.4
Elementor Website Builder – more than just a page builder v3.25.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/add-logo.php +10 -9 4.1.0-beta3 → 3.25.4 View file →
@@ -2,8 +2,9 @@
2 2
3 3 namespace Elementor\Modules\Checklist\Steps;
4 4
5 5 use Elementor\Core\DocumentTypes\Page;
6 +use Elementor\Plugin;
6 7
7 8 if ( ! defined( 'ABSPATH' ) ) {
8 9 exit; // Exit if accessed directly.
9 10 }
@@ -12,40 +13,40 @@
12 13 const STEP_ID = 'add_logo';
13 14
14 15 const SITE_IDENTITY_TAB = 'settings-site-identity';
15 16
16 - public function get_id(): string {
17 + public function get_id() : string {
17 18 return self::STEP_ID;
18 19 }
19 20
20 - public function is_absolute_completed(): bool {
21 + public function is_absolute_completed() : bool {
21 22 return $this->wordpress_adapter->has_custom_logo();
22 23 }
23 24
24 - public function get_title(): string {
25 + public function get_title() : string {
25 26 return esc_html__( 'Add your logo', 'elementor' );
26 27 }
27 28
28 - public function get_description(): string {
29 + public function get_description() : string {
29 30 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' );
30 31 }
31 32
32 - public function get_cta_text(): string {
33 + public function get_cta_text() : string {
33 34 return esc_html__( 'Go to Site Identity', 'elementor' );
34 35 }
35 36
36 - public function get_cta_url(): string {
37 + public function get_cta_url() : string {
37 38 return Page::get_site_settings_url_config( self::SITE_IDENTITY_TAB )['url'];
38 39 }
39 40
40 - public function get_is_completion_immutable(): bool {
41 + public function get_is_completion_immutable() : bool {
41 42 return false;
42 43 }
43 44
44 - public function get_image_src(): string {
45 + public function get_image_src() : string {
45 46 return 'https://assets.elementor.com/checklist/v1/images/checklist-step-1.jpg';
46 47 }
47 48
48 - public function get_learn_more_url(): string {
49 + public function get_learn_more_url() : string {
49 50 return 'http://go.elementor.com/app-website-checklist-logo-article';
50 51 }
51 52 }