WC_Product_Variation::get_title()publicWC 1.0

Get the product's title. For variations this is the parent product name.

Method of the class: WC_Product_Variation{}

Hooks from the method

Return

String.

Usage

$WC_Product_Variation = new WC_Product_Variation();
$WC_Product_Variation->get_title();

WC_Product_Variation::get_title() code WC 9.0.1

public function get_title() {
	return apply_filters( 'woocommerce_product_title', $this->parent_data['title'], $this );
}