WordPress at a glance
function is not described

WC_Abstract_Legacy_Product::list_attributes() public WC 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.

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

No Hooks.

Return

Null. Nothing.

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.

Code of WC_Abstract_Legacy_Product::list_attributes() WC 5.0.0

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