Automattic\WooCommerce\Internal\Admin

WCAdminUser::get_instance()public staticWC 1.0

Get class instance.

Метод класса: WCAdminUser{}

No Hooks.

Return

Object. Instance.

Usage

$result = WCAdminUser::get_instance();

Code of WCAdminUser::get_instance() WC 7.1.0

public static function get_instance() {
	if ( null === self::$instance ) {
		self::$instance = new self();
	}
	return self::$instance;
}