WordPress at Your Fingertips
function is not described


PageController::get_instance() public WC 1.0

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

{} It's a method of the class: PageController{}

No Hooks.


null. Nothing.


$result = PageController::get_instance();

Code of PageController::get_instance() WC 6.1.0

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

	return self::$instance;