wc_admin_is_registered_page()WC 1.0

Is this a WooCommerce Admin Page? Passthrough to PageController::is_registered_page().

Хуков нет.

Возвращает

true|false. True if the page is a WooCommerce Admin page.

Использование

wc_admin_is_registered_page();

Код wc_admin_is_registered_page() WC 6.9.4

function wc_admin_is_registered_page() {
	$controller = PageController::get_instance();
	return $controller->is_registered_page();
}