Warning: This method has been deprecated.

WC_Abstract_Legacy_Product::get_formatted_variation_attributes( bool $flat = false )

Get formatted variation data with WC < 2.4 back compat and proper formatting of text-based attribute names.


Description Description


Parameters Parameters

$flat

(Optional)

Default value: false


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/legacy/abstract-wc-legacy-product.php

	public function get_formatted_variation_attributes( $flat = false ) {
		wc_deprecated_function( 'WC_Product::get_formatted_variation_attributes', '3.0', 'wc_get_formatted_variation' );
		return wc_get_formatted_variation( $this, $flat );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.