PageController
PageController
Description Description
Source Source
File: packages/woocommerce-admin/src/PageController.php
Methods Methods
- connect_page — Connect an existing page to wc-admin.
- determine_current_page — Determine the current page ID, if it was registered with this controller.
- get_breadcrumbs — Get breadcrumbs for WooCommerce Admin Page navigation.
- get_current_page — Get the current page.
- get_current_screen_id — Returns the current screen ID.
- get_instance — We want a single instance of this class so we can accurately track registered menus and pages.
- get_pages — Get registered pages.
- get_path_from_id — Returns the path from an ID.
- is_connected_page — Returns true if we are on a page connected to this controller.
- is_registered_page — Returns true if we are on a page registed with this controller.
- page_wrapper — Set up a div for the app to render into.
- register_page — Adds a JS powered page to wc-admin.