Yoast\WP\SEO\Conditionals

AI_Editor_Conditional::__constructpublicYoast 1.0

Constructs Ai_Editor_Conditional.

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

Хуков нет.

Возвращает

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

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

$AI_Editor_Conditional = new AI_Editor_Conditional();
$AI_Editor_Conditional->__construct( $post_conditional, $current_page_helper, $product_helper );
$post_conditional(Post_Conditional) (обязательный)
The Post_Conditional.
$current_page_helper(Current_Page_Helper) (обязательный)
The Current_Page_Helper.
$product_helper(Product_Helper) (обязательный)
The Product_Helper.

Код AI_Editor_Conditional::__construct() Yoast 28.4

public function __construct( Post_Conditional $post_conditional, Current_Page_Helper $current_page_helper, Product_Helper $product_helper ) {
	$this->post_conditional    = $post_conditional;
	$this->current_page_helper = $current_page_helper;
	$this->product_helper      = $product_helper;
}