WC_Customer_Download::get_order_key()publicWC 1.0

Get order_key.

Method of the class: WC_Customer_Download{}

No Hooks.

Return

String.

Usage

$WC_Customer_Download = new WC_Customer_Download();
$WC_Customer_Download->get_order_key( $context );
$context(string)
What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'

WC_Customer_Download::get_order_key() code WC 9.4.2

public function get_order_key( $context = 'view' ) {
	return $this->get_prop( 'order_key', $context );
}