WC_Abstract_Order::get_title()
Get order title.
Method of the class: WC_Abstract_Order{}
No Hooks.
Return
String
. Order title.
Usage
$WC_Abstract_Order = new WC_Abstract_Order(); $WC_Abstract_Order->get_title() : string;
WC_Abstract_Order::get_title() WC Abstract Order::get title code WC 8.6.1
public function get_title() : string { if ( method_exists( $this->data_store, 'get_title' ) ) { return $this->data_store->get_title( $this ); } else { return __( 'Order', 'woocommerce' ); } }