woocommerce_get_formatted_product_name()WC 1.0

Deprecated since 2.1. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Get product name with extra details such as SKU price and attributes. Used within admin.

No Hooks.

Returns

String.

Usage

woocommerce_get_formatted_product_name( $product );
$product(WC_Product) (required)
.

Changelog

Deprecated since 2.1

woocommerce_get_formatted_product_name() code WC 10.5.0

function woocommerce_get_formatted_product_name( $product ) {
	wc_deprecated_function( __FUNCTION__, '2.1', 'WC_Product::get_formatted_name()' );
	return $product->get_formatted_name();
}