WC_Product_Variable_Data_Store_Interface::child_has_weight │ public │ WC 1.0

Does a child have a weight set?

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

Хуков нет.

Возвращает

boolean.

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

$WC_Product_Variable_Data_Store_Interface = new WC_Product_Variable_Data_Store_Interface();
$WC_Product_Variable_Data_Store_Interface->child_has_weight( $product );
$product(WC_Product) (обязательный)
Product object.

Код WC_Product_Variable_Data_Store_Interface::child_has_weight() WC 11.3.0

public function child_has_weight( $product );