Automattic\WooCommerce\Blocks\BlockTypes
FeaturedItem::get_item_title()
Returns the name of the featured item.
Method of the class: FeaturedItem{}
No Hooks.
Return
String
.
Usage
// protected - for code of main (parent) or child class $result = $this->get_item_title( $item );
- $item(\WP_Term|\WC_Product) (required)
- Item object.
FeaturedItem::get_item_title() FeaturedItem::get item title code WC 9.4.2
abstract protected function get_item_title( $item );