WC_Meta_Box_Product_Data::filter_variation_attributes()private staticWC 1.0

Filter callback for finding variation attributes.

{} It's a method of the class: WC_Meta_Box_Product_Data{}

No Hooks.

Return

true|false.

Usage

$result = WC_Meta_Box_Product_Data::filter_variation_attributes( $attribute );
$attribute(WC_Product_Attribute) (required)
Product attribute.

Code of WC_Meta_Box_Product_Data::filter_variation_attributes() WC 6.7.0

private static function filter_variation_attributes( $attribute ) {
	return true === $attribute->get_variation();
}