wc_admin_is_registered_page()WC 1.0

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

No Hooks.

Return

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

Usage

wc_admin_is_registered_page();

wc_admin_is_registered_page() code WC 9.0.1

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