Automattic\WooCommerce\Admin

PageController::is_embed_page()public staticWC 1.0

Returns true if we are on a "classic" (non JS app) powered admin page.

TODO: See usage in admin.php. This needs refactored and implemented properly in core.

Method of the class: PageController{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = PageController::is_embed_page();

PageController::is_embed_page() code WC 9.7.1

public static function is_embed_page() {
	return wc_admin_is_connected_page();
}