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.


Top ↑

Return Return

(mixed)


Top ↑

Source Source

File: includes/class-wc-customer-download.php

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

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.