WC_Customer_Download::__get()publicWC 1.0

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

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.

WC_Customer_Download::__get() code WC 9.4.2

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