WC_Product_Variation::has_attributes()
Returns whether or not the product has any visible attributes.
Description Description
Variations are mapped to specific attributes unlike products, and the return value of ->get_attributes differs. Therefore this returns false.
Return Return
(boolean)
Source Source
File: includes/class-wc-product-variation.php
public function has_attributes() { return false; }