WordPress at a glance
function is not described


Loader::is_embed_page() public WC 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.

{} It's a method of the class: Loader{}

No Hooks.


null. Nothing.


$result = Loader::is_embed_page();

Code of Loader::is_embed_page() WC 5.3.0

public static function is_embed_page() {
	return wc_admin_is_connected_page() || ( ! self::is_admin_page() && class_exists( 'Automattic\WooCommerce\Admin\Features\Navigation\Screen' ) && Screen::is_woocommerce_page() );