Loader::is_admin_page()
Returns true if we are on a JS powered admin page.
Description #Description
Source #Source
File: packages/woocommerce-admin/src/Loader.php
Related #Related
Uses #Uses
Uses | Description |
---|---|
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(). |
Used By #Used By
Used By | Description |
---|---|
packages/woocommerce-admin/src/Features/OnboardingTasks.php: OnboardingTasks::update_option_extended_task_list() |
Update registered extended task list items. |
packages/woocommerce-admin/src/Features/Onboarding.php: Onboarding::reset_extended_task_list() |
Reset the extended task list and redirect to the dashboard. |
packages/woocommerce-admin/src/Features/Onboarding.php: Onboarding::reset_profiler() |
Reset the onboarding profiler and redirect to the profiler. |
packages/woocommerce-admin/src/Features/Onboarding.php: Onboarding::reset_task_list() |
Reset the onboarding task list and redirect to the dashboard. |
packages/woocommerce-admin/src/Features/OnboardingTasks.php: OnboardingTasks::component_settings() |
Add task items to component settings. |
packages/woocommerce-admin/src/Features/Onboarding.php: Onboarding::finish_paypal_connect() |
Finishes the PayPal connection process by saving the correct settings. |
packages/woocommerce-admin/src/Features/Onboarding.php: Onboarding::finish_square_connect() |
Finishes the Square connection process by saving the correct settings. |
packages/woocommerce-admin/src/Features/Marketing.php: Marketing::component_settings() |
Add settings for marketing feature. |
packages/woocommerce-admin/src/Loader.php: Loader::add_admin_body_classes() |
Adds body classes to the main wp-admin wrapper, allowing us to better target elements in specific scenarios. |
packages/woocommerce-admin/src/Loader.php: Loader::inject_before_notices() |
Runs before admin notices action and hides them. |
packages/woocommerce-admin/src/Loader.php: Loader::update_admin_title() |
Edits Admin title based on section of wc-admin. |
packages/woocommerce-admin/src/Loader.php: Loader::is_admin_or_embed_page() |
Returns true if we are on a JS powered admin page or a “classic” (non JS app) powered admin page (an embedded page). |
packages/woocommerce-admin/src/Loader.php: Loader::is_embed_page() |
Returns true if we are on a “classic” (non JS app) powered admin page. |
packages/woocommerce-admin/src/Loader.php: Loader::embed_page_header() |
Set up a div for the header embed to render into. |