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 7.7.2

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