WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Product_Variable::get_variation_attributes() public WC 1.0

Return an array of attributes used for variations, as well as their possible values.

This is lazy loaded as it's not used often and does require several queries.

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

Хуков нет.

Возвращает

Массив. Attributes and their available values

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

$WC_Product_Variable = new WC_Product_Variable();
$WC_Product_Variable->get_variation_attributes();

Код WC_Product_Variable::get_variation_attributes() WC 5.4.1

<?php
public function get_variation_attributes() {
	if ( null === $this->variation_attributes ) {
		$this->variation_attributes = $this->data_store->read_variation_attributes( $this );
	}
	return $this->variation_attributes;
}