Automattic\WooCommerce\Blocks\BlockTypes
FeaturedProduct::get_item_title
Returns the name of the featured product.
Метод класса: FeaturedProduct{}
Хуков нет.
Возвращает
Строку
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_item_title( $product );
- $product(WC_Product) (обязательный)
- Product object.
Код FeaturedProduct::get_item_title() FeaturedProduct::get item title WC 9.9.3
protected function get_item_title( $product ) { return $product->get_title(); }