woocommerce_get_formatted_product_name()
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() woocommerce get formatted product name code WC 9.6.1
function woocommerce_get_formatted_product_name( $product ) { wc_deprecated_function( __FUNCTION__, '2.1', 'WC_Product::get_formatted_name()' ); return $product->get_formatted_name(); }