wc_admin_register_page()WC 1.0

Register JS-powered WooCommerce Admin Page. Passthrough to PageController::register_page().

No Hooks.

Return

null. Nothing (null).

Usage

wc_admin_register_page( $options );
$options(array) (required)
Options for PageController::register_page().

wc_admin_register_page() code WC 9.4.2

function wc_admin_register_page( $options ) {
	$controller = PageController::get_instance();
	$controller->register_page( $options );
}