Automattic\WooCommerce\Admin\Features\ProductBlockEditor

RedirectionController::set_product_templates()publicWC 1.0

Check if a product is supported by the new experience.

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

Хуков нет.

Возвращает

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

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

$RedirectionController = new RedirectionController();
$RedirectionController->set_product_templates( $product_templates ): void;
$product_templates(массив) (обязательный)
The registered product templates.

Код RedirectionController::set_product_templates() WC 9.7.1

public function set_product_templates( array $product_templates ): void {
	$this->product_templates = $product_templates;
}