WordPress at a glance
function is not described

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.


String. Nothing.


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


Deprecated 2.1

Code of woocommerce_get_formatted_product_name() WC 5.3.0

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