WC_Customer_Download::__get()
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() WC Customer Download:: get code WC 9.4.2
public function __get( $key ) { if ( is_callable( array( $this, "get_$key" ) ) ) { return $this->{"get_$key"}( '' ); } }