WooCommerce::__get()
Auto-load in-accessible properties on demand.
Method of the class: WooCommerce{}
No Hooks.
Return
Mixed
.
Usage
$WooCommerce = new WooCommerce(); $WooCommerce->__get( $key );
- $key(mixed) (required)
- Key name.
WooCommerce::__get() WooCommerce:: get code WC 7.7.0
public function __get( $key ) { if ( in_array( $key, array( 'payment_gateways', 'shipping', 'mailer', 'checkout' ), true ) ) { return $this->$key(); } }