WC_Customer_Download::get_user_id( string $context = 'view' )
Get user 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_user_id( $context = 'view' ) { return $this->get_prop( 'user_id', $context ); }