WordPress at Your Fingertips
function is not described

WC_Abstract_Order::get_type() public WC 1.0

Get internal type.

{} It's a method of the class: WC_Abstract_Order{}

No Hooks.

Return

String.

Usage

$WC_Abstract_Order = new WC_Abstract_Order();
$WC_Abstract_Order->get_type();

Code of WC_Abstract_Order::get_type() WC 6.1.0

public function get_type() {
	return 'shop_order';
}