Automattic\WooCommerce\Blocks\BlockTypes
FeaturedItem::get_item_title
Returns the name of the featured item.
Method of the class: FeaturedItem{}
No Hooks.
Returns
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 10.8.1
abstract protected function get_item_title( $item );