Automattic\WooCommerce\Admin\Features\ProductBlockEditor

RedirectionController::set_product_templates()publicWC 1.0

Check if a product is supported by the new experience.

Method of the class: RedirectionController{}

No Hooks.

Return

null. Nothing (null).

Usage

$RedirectionController = new RedirectionController();
$RedirectionController->set_product_templates( $product_templates ): void;
$product_templates(array) (required)
The registered product teamplates.

RedirectionController::set_product_templates() code WC 9.0.1

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