WC_Meta_Box_Product_Data::filter_non_variation_attributes()
Filter callback for finding non-variation attributes.
Method of the class: WC_Meta_Box_Product_Data{}
No Hooks.
Return
true|false
.
Usage
$result = WC_Meta_Box_Product_Data::filter_non_variation_attributes( $attribute );
- $attribute(WC_Product_Attribute) (required)
- Product attribute.
WC_Meta_Box_Product_Data::filter_non_variation_attributes() WC Meta Box Product Data::filter non variation attributes code WC 9.7.1
private static function filter_non_variation_attributes( $attribute ) { return false === $attribute->get_variation(); }