Automattic\WooCommerce\Admin
PageController::get_instance()
We want a single instance of this class so we can accurately track registered menus and pages.
Метод класса: PageController{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$result = PageController::get_instance();
Код PageController::get_instance() PageController::get instance WC 8.7.0
public static function get_instance() { if ( ! self::$instance ) { self::$instance = new self(); } return self::$instance; }