WC_Customer_Download::__get( string $key )
Magic __get method for backwards compatibility. Maps legacy vars to new getters.
Description Description
Parameters Parameters
- $key
-
(Required) Key name.
Return Return
(mixed)
Source Source
File: includes/class-wc-customer-download.php
public function __get( $key ) { if ( is_callable( array( $this, "get_$key" ) ) ) { return $this->{"get_$key"}( '' ); } }