WC_Abstract_Legacy_Product::list_attributes()publicWC 1.0

Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. Use wc_display_product_attributes instead.

Lists a table of attributes for the product page.

Method of the class: WC_Abstract_Legacy_Product{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Abstract_Legacy_Product = new WC_Abstract_Legacy_Product();
$WC_Abstract_Legacy_Product->list_attributes();

Changelog

Deprecated since 3.0.0 Use wc_display_product_attributes instead.

WC_Abstract_Legacy_Product::list_attributes() code WC 8.7.0

public function list_attributes() {
	wc_deprecated_function( 'WC_Product::list_attributes', '3.0', 'wc_display_product_attributes' );
	wc_display_product_attributes( $this );
}