WooCommerce::__get( mixed $key )
Auto-load in-accessible properties on demand.
Description Description
Parameters Parameters
- $key
-
(Required) Key name.
Return Return
(mixed)
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(); } }