woocommerce_get_formatted_product_name()WC 1.0

Deprecated from version 2.1. It is no longer supported and can 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.

Return

String.

Usage

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

Changelog

Deprecated since 2.1

woocommerce_get_formatted_product_name() code WC 8.7.0

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