WC_Admin_Status::status_logs()public staticWC 1.0

Show the logs page.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Admin_Status::status_logs();

Code of WC_Admin_Status::status_logs() WC 6.7.0

public static function status_logs() {
	$log_handler = Constants::get_constant( 'WC_LOG_HANDLER' );

	if ( 'WC_Log_Handler_DB' === $log_handler ) {
		self::status_logs_db();
	} else {
		self::status_logs_file();
	}
}