Automattic\WooCommerce\Internal\Admin

Analytics::register_pages()publicWC 1.0

Registers report pages.

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

No Hooks.

Return

null. Nothing.

Usage

$Analytics = new Analytics();
$Analytics->register_pages();

Code of Analytics::register_pages() WC 7.1.0

public function register_pages() {
	$report_pages = self::get_report_pages();
	foreach ( $report_pages as $report_page ) {
		if ( ! is_null( $report_page ) ) {
			wc_admin_register_page( $report_page );
		}
	}
}