WordPress at Your Fingertips
function is not described

WC_Customer_Download::__get() public WC 1.0

Magic __get method for backwards compatibility. Maps legacy vars to new getters.

{} It's a method of the class: WC_Customer_Download{}

No Hooks.

Return

Mixed.

Usage

$WC_Customer_Download = new WC_Customer_Download();
$WC_Customer_Download->__get( $key );
$key(string) (required)
Key name.

Code of WC_Customer_Download::__get() WC 5.8.0

public function __get( $key ) {
	if ( is_callable( array( $this, "get_$key" ) ) ) {
		return $this->{"get_$key"}( '' );
	}
}