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.

{} Это метод класса: ClassicTemplatesCompatibility{}

Хуков нет.

Возвращает

null. Ничего.

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

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

Код ClassicTemplatesCompatibility::set_classic_template_data() WC 6.9.4

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