Automattic\WooCommerce\Admin\Features\ProductBlockEditor
RedirectionController::set_product_templates()
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 templates.
RedirectionController::set_product_templates() RedirectionController::set product templates code WC 9.8.1
public function set_product_templates( array $product_templates ): void { $this->product_templates = $product_templates; }