Automattic\WooCommerce\Internal\Admin\Logging

PageController::get_logs_tab_url()publicWC 1.0

Get the canonical URL for the Logs tab of the Status admin page.

Method of the class: PageController{}

No Hooks.

Return

String.

Usage

$PageController = new PageController();
$PageController->get_logs_tab_url(): string;

PageController::get_logs_tab_url() code WC 9.3.3

public function get_logs_tab_url(): string {
	return add_query_arg(
		array(
			'page' => 'wc-status',
			'tab'  => 'logs',
		),
		admin_url( 'admin.php' )
	);
}