WC_Abstract_Order::get_title()publicWC 1.0

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() 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' );
	}
}