PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
wordpress-seo / src / introductions / application / ai-brand-insights-pre-launch.php

ai-brand-insights-pre-launch.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI trunk, at src/introductions/application/ai-brand-insights-pre-launch.php

68 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Yoast\WP\SEO\Introductions\Application;
4
5 use Yoast\WP\SEO\Helpers\Current_Page_Helper;
6 use Yoast\WP\SEO\Introductions\Domain\Introduction_Interface;
7
8 /**
9 * Represents the introduction for the AI Brand Insights pre-launch.
10 */
11 class AI_Brand_Insights_Pre_Launch implements Introduction_Interface {
12
13 use User_Allowed_Trait;
14
15 public const ID = 'ai-brand-insights-pre-launch';
16
17 /**
18 * Holds the current page helper.
19 *
20 * @var Current_Page_Helper
21 */
22 private $current_page_helper;
23
24 /**
25 * Constructs the introduction.
26 *
27 * @codeCoverageIgnore
28 *
29 * @param Current_Page_Helper $current_page_helper The current page helper.
30 */
31 public function __construct( Current_Page_Helper $current_page_helper ) {
32 $this->current_page_helper = $current_page_helper;
33 }
34
35 /**
36 * Returns the ID.
37 *
38 * @codeCoverageIgnore
39 *
40 * @return string The ID.
41 */
42 public function get_id() {
43 return self::ID;
44 }
45
46 /**
47 * Returns the requested pagination priority. Lower means earlier.
48 *
49 * @codeCoverageIgnore
50 *
51 * @return int The priority.
52 */
53 public function get_priority() {
54 return 20;
55 }
56
57 /**
58 * Returns whether this introduction should show.
59 *
60 * @codeCoverageIgnore
61 *
62 * @return bool Whether this introduction should show.
63 */
64 public function should_show() {
65 return false;
66 }
67 }
68