WC_Customer_Download::get_order_id( string $context = 'view' )
Get order_id.
Description Description
Parameters Parameters
- $context
-
(Optional) What the value is for. Valid values are 'view' and 'edit'.
Default value: 'view'
Return Return
(integer)
Source Source
File: includes/class-wc-customer-download.php
public function get_order_id( $context = 'view' ) { return $this->get_prop( 'order_id', $context ); }