Automattic\WooCommerce\Blocks\Templates

ClassicTemplatesCompatibility::set_classic_template_data()publicWC 1.0

Executes the methods which set the necessary data needed for filter blocks to work correctly as widgets in Classic templates.

Method of the class: ClassicTemplatesCompatibility{}

No Hooks.

Return

null. Nothing (null).

Usage

$ClassicTemplatesCompatibility = new ClassicTemplatesCompatibility();
$ClassicTemplatesCompatibility->set_classic_template_data();

ClassicTemplatesCompatibility::set_classic_template_data() code WC 9.4.2

public function set_classic_template_data() {
	$this->set_filterable_product_data();
	$this->set_php_template_data();
}