Yoast\WP\SEO\Conditionals

Robots_Txt_Conditional::__construct()publicYoast 1.0

Constructs the class.

{} Это метод класса: Robots_Txt_Conditional{}

Хуков нет.

Возвращает

null. Ничего.

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

$Robots_Txt_Conditional = new Robots_Txt_Conditional();
$Robots_Txt_Conditional->__construct( $front_end_conditional );
$front_end_conditional(Front_End_Conditional) (обязательный)
The front end conditional.

Код Robots_Txt_Conditional::__construct() Yoast 19.2

public function __construct( Front_End_Conditional $front_end_conditional ) {
	$this->front_end_conditional = $front_end_conditional;
}