Automattic\WooCommerce\Admin

PageController::get_instance()public staticWC 1.0

We want a single instance of this class so we can accurately track registered menus and pages.

Method of the class: PageController{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = PageController::get_instance();

PageController::get_instance() code WC 8.7.0

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

	return self::$instance;
}