Automattic\WooCommerce\Admin

Loader::is_embed_page()public staticWC 1.0

Deprecated from version 6.3.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

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

Метод класса: Loader{}

No Hooks.

Return

null. Nothing.

Usage

$result = Loader::is_embed_page();

Changelog

Deprecated since 6.3.0

Код Loader::is_embed_page() WC 7.1.0

public static function is_embed_page() {
	wc_deprecated_function( 'is_embed_page', '6.3', '\Automattic\WooCommerce\Admin\PageController::is_embed_page()' );
	return PageController::is_embed_page();
}