Automattic\WooCommerce\Internal\Admin

Analytics::record_refund_double_count_tool_run │ private static │ WC 1.0

Record a click on the fix tool's button and what it did.

Method of the class: Analytics{}

No Hooks.

Returns

void. Nothing (null).

Usage

$result = Analytics::record_refund_double_count_tool_run( $outcome, $previous_status ): void;
$outcome(string) (required)
One of started, dismissed, refused_running or refused_full_refund_fix.
$previous_status(string) (required)
Run status before the click, or 'none'.

Analytics::record_refund_double_count_tool_run() code WC 11.3.0

private static function record_refund_double_count_tool_run( string $outcome, string $previous_status ): void {
	self::record_refund_double_count_event(
		'tool_run',
		array(
			'outcome'         => $outcome,
			'previous_status' => $previous_status,
		)
	);
}