WC_Customer_Download::get_order_key()
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() 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 ); }