WC_Product_Variation::get_title()publicWC 1.0

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

Метод класса: WC_Product_Variation{}

Хуки из метода

Возвращает

Строку.

Использование

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

Код WC_Product_Variation::get_title() WC 8.7.0

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