PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
introductions
/
application
<?php namespace Yoast\WP\SEO\Introductions\Application; use Yoast\WP\SEO\Helpers\Current_Page_Helper; use Yoast\WP\SEO\Introductions\Domain\Introduction_Interface; /** * Represents the introduction for the AI Brand Insights post-launch. */ class AI_Brand_Insights_Post_Launch implements Introduction_Interface { use User_Allowed_Trait; public const ID = 'ai-brand-insights-post-launch'; /** * Holds the current page helper. * * @var Current_Page_Helper */ private $current_page_helper; /** * Constructs the introduction. * * @param Current_Page_Helper $current_page_helper The current page helper. */ public function __construct( Current_Page_Helper $current_page_helper ) { $this->current_page_helper = $current_page_helper; } /** * Returns the ID. * * @return string The ID. */ public function get_id() { return self::ID; } /** * Returns the name of the introduction. * * @return string The name. */ public function get_name() { \_deprecated_function( __METHOD__, 'Yoast SEO Premium 21.6', 'Please use get_id() instead' ); return self::ID; } /** * Returns the requested pagination priority. Lower means earlier. * * @return int The priority. */ public function get_priority() { return 20; } /** * Returns whether this introduction should show. * * @return bool Whether this introduction should show. */ public function should_show() { return $this->current_page_helper->is_yoast_seo_page(); } }
[-] ai-brand-insights-post-launch.php
[edit]
[-] google-docs-addon-upsell.php
[edit]
[-] ai-brand-insights-pre-launch.php
[edit]
[-] introductions-collector.php
[edit]
[-] version-trait.php
[edit]
[-] delayed-premium-upsell.php
[edit]
[-] black-friday-announcement.php
[edit]
[-] ai-fix-assessments-upsell.php
[edit]
[+]
..
[-] current-page-trait.php
[edit]
[-] user-allowed-trait.php
[edit]