WC_Product_Variable::has_dimensions
Returns whether or not the product has dimensions set.
Метод класса: WC_Product_Variable{}
Хуков нет.
Возвращает
bool.
Использование
$WC_Product_Variable = new WC_Product_Variable(); $WC_Product_Variable->has_dimensions();
Код WC_Product_Variable::has_dimensions() WC Product Variable::has dimensions WC 11.2.1
public function has_dimensions() {
return parent::has_dimensions() || $this->child_has_dimensions();
}