WooCommerce::__get( mixed $key )

Auto-load in-accessible properties on demand.


Description Description


Parameters Parameters

$key

(Required) Key name.


Top ↑

Return Return

(mixed)


Top ↑

Source Source

File: includes/class-woocommerce.php

	public function __get( $key ) {
		if ( in_array( $key, array( 'payment_gateways', 'shipping', 'mailer', 'checkout' ), true ) ) {
			return $this->$key();
		}
	}

Top ↑

User Contributed Notes User Contributed Notes

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