Automattic\WooCommerce\Blocks\Templates

ProductAttributeTemplate::init()protectedWC 1.0

Initialization method.

Метод класса: ProductAttributeTemplate{}

Хуков нет.

Возвращает

null. Ничего (null).

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->init();

Код ProductAttributeTemplate::init() WC 8.7.0

protected function init() {
	add_filter( 'taxonomy_template_hierarchy', array( $this, 'update_taxonomy_template_hierarchy' ), 1, 3 );
}