Yoast\WP\SEO\Dashboard\User_Interface\Setup

Setup_Url_Interceptor::__construct()publicYoast 1.0

The constructor.

Метод класса: Setup_Url_Interceptor{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Setup_Url_Interceptor = new Setup_Url_Interceptor();
$Setup_Url_Interceptor->__construct( $current_page_helper, $site_kit_configuration, $redirect_helper );
$current_page_helper(Current_Page_Helper) (обязательный)
The current page helper.
$site_kit_configuration(Site_Kit) (обязательный)
The Site Kit configuration object.
$redirect_helper(Redirect_Helper) (обязательный)
The redirect helper to abstract away the actual redirecting.

Код Setup_Url_Interceptor::__construct() Yoast 25.1

public function __construct( Current_Page_Helper $current_page_helper, Site_Kit $site_kit_configuration, Redirect_Helper $redirect_helper ) {
	$this->current_page_helper = $current_page_helper;
	$this->redirect_helper     = $redirect_helper;

	$this->site_kit_configuration = $site_kit_configuration;
}