WC_Product_Variable_Data_Store_Interface::child_has_weight()publicWC 1.0

Does a child have a weight set?

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

Хуков нет.

Возвращает

true|false.

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

$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 8.7.0

public function child_has_weight( $product );