Yoast\WP\SEO\Conditionals\Admin

Yoast_Admin_Conditional::__constructpublicYoast 1.0

Constructs the conditional.

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

Хуков нет.

Возвращает

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

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

$Yoast_Admin_Conditional = new Yoast_Admin_Conditional();
$Yoast_Admin_Conditional->__construct( $current_page_helper );
$current_page_helper(Current_Page_Helper) (обязательный)
The current page helper.

Код Yoast_Admin_Conditional::__construct() Yoast 26.5

public function __construct( Current_Page_Helper $current_page_helper ) {
	$this->current_page_helper = $current_page_helper;
}