WC_Product::is_featured()publicWC 1.0

Returns whether or not the product is featured.

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

Хуков нет.

Возвращает

true|false.

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

$WC_Product = new WC_Product();
$WC_Product->is_featured();

Код WC_Product::is_featured() WC 8.7.0

public function is_featured() {
	return true === $this->get_featured();
}