PageController::get_instance()
We want a single instance of this class so we can accurately track registered menus and pages.
Description #Description
Source #Source
File: packages/woocommerce-admin/src/PageController.php
Related #Related
Used By #Used By
Used By | Description |
---|---|
packages/woocommerce-admin/src/Features/Onboarding.php: Onboarding::is_home_or_setup_wizard_page() |
Determine if the current page is home or setup wizard. |
packages/woocommerce-admin/src/Features/Marketing.php: Marketing::add_parent_menu_item() |
Add main marketing menu item. |
packages/woocommerce-admin/src/Features/Marketing.php: Marketing::register_overview_page() |
Register the main Marketing page, which is Marketing > Overview. |
packages/woocommerce-admin/src/Features/Navigation/CoreMenu.php: CoreMenu::get_items() |
Get all menu items. |
packages/woocommerce-admin/src/Features/Settings.php: Settings::register_pages() |
Registers settings pages. |
packages/woocommerce-admin/src/Features/Coupons.php: Coupons::maybe_add_marketing_coupon_script() |
Maybe add our wc-admin coupon scripts if viewing coupon pages |
packages/woocommerce-admin/includes/connect-existing-pages.php: wc_admin_filter_core_page_breadcrumbs() |
Filter breadcrumbs for core pages that aren’t explicitly connected. |
packages/woocommerce-admin/includes/connect-existing-pages.php: wc_admin_connect_core_pages() |
Render the WC-Admin header bar on all WooCommerce core pages. |
packages/woocommerce-admin/includes/page-controller-functions.php: wc_admin_connect_page() |
Connect an existing page to WooCommerce Admin. |
packages/woocommerce-admin/includes/page-controller-functions.php: wc_admin_register_page() |
Register JS-powered WooCommerce Admin Page. |
packages/woocommerce-admin/includes/page-controller-functions.php: wc_admin_is_connected_page() |
Is this page connected to WooCommerce Admin? Passthrough to PageController::is_connected_page(). |
packages/woocommerce-admin/includes/page-controller-functions.php: wc_admin_is_registered_page() |
Is this a WooCommerce Admin Page? Passthrough to PageController::is_registered_page(). |
packages/woocommerce-admin/includes/page-controller-functions.php: wc_admin_get_breadcrumbs() |
Get breadcrumbs for WooCommerce Admin Page navigation. |
packages/woocommerce-admin/src/Features/Marketing.php: Marketing::register_pages() |
Registers report pages. |